From 1c644eea65083558fc029345a8b4d2b81d0625e1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 19 Mar 2016 21:02:09 +0300 Subject: Add menuaction into yes/no dialogs in marriage. --- npc/functions/marriage.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc') 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()) { -- cgit v1.2.3-70-g09d2