Skip to content
Snippets Groups Projects
Commit 0d4dc97e authored by Pregmodder's avatar Pregmodder
Browse files

not relationShip

parent 1b4dfa74
No related branches found
No related tags found
1 merge request!7463JS saRelationships
......@@ -637,7 +637,7 @@ App.SlaveAssignment.relationships = (function() {
}
}
}
} else if (slave.rules.relationship === "restrictive" && slave.relationShip !== 5) {
} else if (slave.rules.relationship === "restrictive" && slave.relationship !== 5) {
if (friend.rules.relationship === "restrictive") {
r.push(`Since the rules forbid the relationship between ${slave.slaveName} and ${friend.slaveName}, they are <span class="relationship dec">forced apart.</span>`);
if (slave.relationship > 1) {
......@@ -661,7 +661,7 @@ App.SlaveAssignment.relationships = (function() {
friend.devotion -= 2;
}
}
} else if (slave.rules.relationship === "just friends" && slave.relationShip !== 5 && slave.relationship > 2) {
} else if (slave.rules.relationship === "just friends" && slave.relationship !== 5 && slave.relationship > 2) {
if (friend.rules.relationship === "restrictive") {
r.push(`Since the sexual relationship between ${slave.slaveName} and ${friend.slaveName} is against the rules, they`);
if (!hasAnyArms(slave) && !hasAnyArms(friend)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment