summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/marriage.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/marriage.txt b/npc/functions/marriage.txt
index 54ee429f..222d4934 100644
--- a/npc/functions/marriage.txt
+++ b/npc/functions/marriage.txt
@@ -122,7 +122,7 @@ function script marriageacceptpartner {
function script askmarry {
speech l("Do you want to marry @@?", getarg(0));
- if (select(l("Yes"), l("No")) == 1)
+ if (select(menuaction(l("Yes")), menuaction(l("No"))) == 1)
return true;
return false;
}
@@ -236,7 +236,7 @@ function script marriagedivorce {
{
case 1:
speech l("Are you sure?");
- if (select(l("Yes"), l("No")) == 1)
+ if (select(menuaction(l("Yes")), menuaction(l("No"))) == 1)
{
if (divorce())
{