From c354b1811208257d54eb31014c39923b4be63762 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Fri, 14 Apr 2017 13:53:36 -0400 Subject: [PATCH] Fix --- src/uncategorized/saServeThePublic.tw | 2 +- src/utility/raWidgets.tw | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/uncategorized/saServeThePublic.tw b/src/uncategorized/saServeThePublic.tw index 67139d52ad7..bfb2152cc4f 100644 --- a/src/uncategorized/saServeThePublic.tw +++ b/src/uncategorized/saServeThePublic.tw @@ -1275,7 +1275,7 @@ Her appearance attracted $beauty members of the public (<<print Math.trunc($beau <<elseif ($slaves[$i].drugs == "hyper testicle enhancement")>> <<set $vignettes.push({text: "she bloated a female citizen's belly with her copious ejaculate, leading her to recommend your slaves for girls that want to look pregnant without actually getting pregnant,", type: "rep", effect: 1})>> <</if>> -<<if ($slaves[$i].aphrodisiacs > 1)) || ($slaves[$i].inflationType == "aphrodisiac")>> +<<if ($slaves[$i].aphrodisiacs > 1) || ($slaves[$i].inflationType == "aphrodisiac")>> <<set $vignettes.push({text: "her piteous begging for sex due to her extreme aphrodisiac dosage turned a citizen off,", type: "rep", effect: -1})>> <</if>> <<if ($slaves[$i].inflationType == "aphrodisiac")>> diff --git a/src/utility/raWidgets.tw b/src/utility/raWidgets.tw index 6b79d8768d0..52edda62f04 100644 --- a/src/utility/raWidgets.tw +++ b/src/utility/raWidgets.tw @@ -2969,12 +2969,12 @@ Your brand design is ''$brandDesign.'' Call as <<RARemoveRule>> %/ <<widget "RARemoveRule">> - <<for _s = 0; _s < $activeSlave.currentRules.length; _s++>> - <<if _currentRule.ID == $activeSlave.currentRules[_s]>> - <<set $dump = $activeSlave.currentRules.pluck([_s],[_s])>> + <<for _s = 0; _s < $args[0].currentRules.length; _s++>> + <<if _currentRule.ID == $args[0].currentRules[_s]>> + <<set $dump = $args[0].currentRules.pluck([_s],[_s])>> <</if>> <</for>> - <br>Rule _rule (_currentRule.name) is no longer applying to $activeSlave.slaveName. + <br>Rule _rule (_currentRule.name) is no longer applying to $args[0].slaveName. <<include "Rules Facility Remove">> <</widget>> -- GitLab