diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-05-22 11:00:03 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-05-22 11:00:03 -0300 |
commit | d8f40701b772da98aa6cb73fb943efadea233f94 (patch) | |
tree | 91bc67855c26df3d54da780ed7ad66ad0697267b /npc/functions/marriage.txt | |
parent | 068c14436d6752953cdc3a5349da217a849dd71b (diff) | |
download | serverdata-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.txt | 4 |
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; |