From 7197dd80dd369eda740a3de8ff431500d6d55417 Mon Sep 17 00:00:00 2001
From: Skriv <skrivelese@gmail.com>
Date: Sun, 11 Oct 2020 16:20:05 +0200
Subject: [PATCH] fixes

---
 src/events/scheduled/pitFightNonlethal.js | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/events/scheduled/pitFightNonlethal.js b/src/events/scheduled/pitFightNonlethal.js
index a420a8b8dee..8c073d413b6 100644
--- a/src/events/scheduled/pitFightNonlethal.js
+++ b/src/events/scheduled/pitFightNonlethal.js
@@ -7,7 +7,6 @@ App.Facilities.Pit.fight.nonlethal = function(fighters) {
 	const loser = getSlave(getLoser());
 
 
-
 	frag.append(intro(), fighterDeadliness(getSlave(fighters[0])), fighterDeadliness(getSlave(fighters[1])), fight(), postFight());
 
 	return frag;
@@ -1014,7 +1013,7 @@ App.Facilities.Pit.fight.nonlethal = function(fighters) {
 					r.push(`${He} noticed something while ${he} was raping ${loser.slaveName}; watching the way ${he2} writhed in pain was strangely satisfying, as ${he} was making ${him2} suffer. ${winner.slaveName} cums powerfully at the mere thought; ${he} has become `, App.UI.DOM.makeElement("span", `sexually addicted to inflicting pain and anguish.`, "noteworthy"));
 
 					winner.sexualFlaw = "malicious";
-				} else if (winner.fetish === "masochist" && winner.fetishStrength > 90 && winner.sexualFlaw !== "self-hating" && winner.devotion < 20) {
+				} else if (winner.fetish === "masochist" && winner.fetishStrength > 90 && winner.sexualFlaw !== "self hating" && winner.devotion < 20) {
 					r.push(`${He} feels horrible after forcing ${himself} on ${loser.slaveName}; ${he} is the one that should suffer, not ${him2}. ${winner.slaveName} has `, App.UI.DOM.makeElement("span", `descended into true self hatred.`, "noteworthy"));
 
 					winner.sexualFlaw = "self hating";
@@ -1025,7 +1024,7 @@ App.Facilities.Pit.fight.nonlethal = function(fighters) {
 				} else if (winner.behavioralFlaw === "none" && random(1, 100) < 5 && winner.devotion < 20) {
 					r.push(`${He} begins to act `, App.UI.DOM.makeElement("span", `oddly`, ["flaw", "gain"]), ` after the fight; having to beat down and rape another slave may have affected ${him} mentally.`);
 
-					winner.sexualFlaw = "odd";
+					winner.behavioralFlaw = "odd";
 				}
 
 				App.Events.addNode(winnerEffectsDiv, r);
@@ -1085,10 +1084,10 @@ App.Facilities.Pit.fight.nonlethal = function(fighters) {
 					}
 				}
 
-				if (loser.fetish === "masochist" && loser.fetishStrength > 90 && loser.behavioralFlaw !== "self hating") {
+				if (loser.fetish === "masochist" && loser.fetishStrength > 90 && loser.sexualFlaw !== "self hating") {
 					r.push(`${He2} feels strangely content after being abused and violated; ${he2} is the one that should suffer, after all. ${loser.slaveName} has `, App.UI.DOM.makeElement("span", `descended into true self hatred.`, ["flaw", "gain"]));
 
-					loser.behavioralFlaw = "self hating";
+					loser.sexualFlaw = "self hating";
 				} else if (loser.behavioralFlaw === "none" && random(1, 100) < 5 && loser.devotion < 20) {
 					r.push(`${He2} begins to act `, App.UI.DOM.makeElement("span", `oddly`, ["flaw", "gain"]), ` after the fight; losing and getting raped may have affected ${him2} mentally.`);
 
-- 
GitLab