summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/magic.conf1
-rw-r--r--npc/014-1_Woodland/wedding-officiator.txt3
2 files changed, 3 insertions, 1 deletions
diff --git a/conf/magic.conf b/conf/magic.conf
index 390df589..e0fb308c 100644
--- a/conf/magic.conf
+++ b/conf/magic.conf
@@ -573,6 +573,7 @@ NONMAGIC SILENT SPELL marriage (target : PC) : "marry" =
L_yes:
if marriage(@caster_name$)
announce @caster_name$ + " and " + strcharinfo(0) + " are now married!", 0;
+ close;
}
IF not (is_married(caster))
diff --git a/npc/014-1_Woodland/wedding-officiator.txt b/npc/014-1_Woodland/wedding-officiator.txt
index 6b7ace7e..20c7297e 100644
--- a/npc/014-1_Woodland/wedding-officiator.txt
+++ b/npc/014-1_Woodland/wedding-officiator.txt
@@ -236,7 +236,8 @@ L_do_divorce:
if (zeny < @divorce_cost)
goto L_divorce_nomoney;
- if (divorce()) goto L_DidDivorce;
+
+ if divorce(0) goto L_DidDivorce;
mes "[Wedding Officiator]";
mes "The officiator searches through her records for your partner.";