summaryrefslogtreecommitdiff
path: root/npc/functions/marriage.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-22 11:00:03 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-22 11:00:03 -0300
commitd8f40701b772da98aa6cb73fb943efadea233f94 (patch)
tree91bc67855c26df3d54da780ed7ad66ad0697267b /npc/functions/marriage.txt
parent068c14436d6752953cdc3a5349da217a849dd71b (diff)
downloadserverdata-d8f40701b772da98aa6cb73fb943efadea233f94.tar.gz
serverdata-d8f40701b772da98aa6cb73fb943efadea233f94.tar.bz2
serverdata-d8f40701b772da98aa6cb73fb943efadea233f94.tar.xz
serverdata-d8f40701b772da98aa6cb73fb943efadea233f94.zip
Minor changes to marriage logic
Diffstat (limited to 'npc/functions/marriage.txt')
-rw-r--r--npc/functions/marriage.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/functions/marriage.txt b/npc/functions/marriage.txt
index d9e48bf54..4d4ae2737 100644
--- a/npc/functions/marriage.txt
+++ b/npc/functions/marriage.txt
@@ -98,6 +98,10 @@ function script ismarriagepartneraccepted {
.@partner$ = getmarriagepartner();
if (.@partner$ == "")
return false;
+ if (readparam(Sex, strcharinfo(0)) == readparam(Sex, .@partner$)) {
+ // Blame Jesusalva
+ return false;
+ }
.@name$ = getmarriagepartneraccepted();
if (.@name$ == strcharinfo(0))
return true;