diff --git a/src/uncategorized/slaveInteract.tw b/src/uncategorized/slaveInteract.tw index cd313a237e65174065e24a36823e56beced54db7..8fd91a30c7ae9554f6ae3bff097c12b953569600 100644 --- a/src/uncategorized/slaveInteract.tw +++ b/src/uncategorized/slaveInteract.tw @@ -349,11 +349,9 @@ <<set _ML = $marrying.length>> <<if (($MixedMarriage == 1 || $cheatMode == 1) && $activeSlave.relationship != 5 && $activeSlave.relationship != -3)>> <<set _eligible = 1>> - <<for _m = 0; _m < _ML; _m++>> - <<if $marrying[_m] == $activeSlave.ID>> - <<set _eligible = 0>> - <</if>> - <</for>> + <<if $marrying.includes($activeSlave.ID)>> + <<set _eligible = 0>> + <</if>> <<if _eligible != 0>> <<if (_ML < 2)>> <<if ($cheatMode == 1) || (_ML == 0)>> @@ -365,7 +363,6 @@ | //You can only marry up to two slaves per week// <</if>> <<else>> - /* FIXME: this message only displays for the last slave being married */ | //You are already marrying $him this weekend// <</if>> <</if>>