From fc990ee050abc5f6c950e971872d99a5225d746c Mon Sep 17 00:00:00 2001 From: gambit <gambitx8664@gmail.com> Date: Fri, 11 Oct 2024 17:27:47 +0300 Subject: [PATCH] fix operator precedent bug --- C012_AfterClass/Amanda/Script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C012_AfterClass/Amanda/Script.js b/C012_AfterClass/Amanda/Script.js index 2dd22cd92a..d3d3ae892b 100644 --- a/C012_AfterClass/Amanda/Script.js +++ b/C012_AfterClass/Amanda/Script.js @@ -426,11 +426,11 @@ function C012_AfterClass_Amanda_ForceChangePlayer(NewCloth) { function C012_AfterClass_Amanda_ForceRandomBondage(BondageType) { if ((BondageType == "Full") || (BondageType == "Hug") || (BondageType == "Gag")) { PlayerRandomGag(); - if (!Common_PlayerGagged && (BondageType == "Gag")) OverridenIntroText = GetText("CantFindRestrain" + (BondageType == "Hug") ? "ForHug" : ""); + if (!Common_PlayerGagged && (BondageType == "Gag")) OverridenIntroText = GetText("CantFindRestrain" + ((BondageType == "Hug") ? "ForHug" : "")); } if ((BondageType == "Full") || (BondageType == "Hug") || (BondageType == "Restrain")) { PlayerRandomRestrain(); - if (!Common_PlayerRestrained) OverridenIntroText = GetText("CantFindRestrain" + (BondageType == "Hug") ? "ForHug" : ""); + if (!Common_PlayerRestrained) OverridenIntroText = GetText("CantFindRestrain" + ((BondageType == "Hug") ? "ForHug" : "")); } CurrentTime = CurrentTime + 50000; }