summaryrefslogtreecommitdiff
path: root/npc/functions/marriage.txt
diff options
context:
space:
mode:
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;