diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-19 21:02:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-19 21:02:09 +0300 |
commit | 1c644eea65083558fc029345a8b4d2b81d0625e1 (patch) | |
tree | 521e1370dafed16b6fd50b3b69981e2f0493cb20 /npc/functions/marriage.txt | |
parent | 250f998af4e96080978f589e44d16b7f0d95f158 (diff) | |
download | serverdata-1c644eea65083558fc029345a8b4d2b81d0625e1.tar.gz serverdata-1c644eea65083558fc029345a8b4d2b81d0625e1.tar.bz2 serverdata-1c644eea65083558fc029345a8b4d2b81d0625e1.tar.xz serverdata-1c644eea65083558fc029345a8b4d2b81d0625e1.zip |
Add menuaction into yes/no dialogs in marriage.
Diffstat (limited to 'npc/functions/marriage.txt')
-rw-r--r-- | npc/functions/marriage.txt | 4 |
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()) { |