From ed378e8b03214397c4a8683591681a857c687400 Mon Sep 17 00:00:00 2001 From: Arkerthan <arkerthan@gmail.com> Date: Wed, 12 Aug 2020 17:46:16 +0200 Subject: [PATCH] remove unused $MatronInfluence --- js/003-data/gameVariableData.js | 2 -- src/facilities/nursery/nursery.tw | 1 - 2 files changed, 3 deletions(-) diff --git a/js/003-data/gameVariableData.js b/js/003-data/gameVariableData.js index 2c8d35a6332..cb179996bee 100644 --- a/js/003-data/gameVariableData.js +++ b/js/003-data/gameVariableData.js @@ -740,8 +740,6 @@ App.Data.resetOnNGPlus = { nurseryNannies: 0, /** Counts the number of children currently in the nursery */ nurseryChildren: 0, - /** Check for whether the children are influenced by the Matron */ - MatronInfluence: 0, /** Check for whether the children are influenced by the nannies */ nannyInfluence: 0, nurseryDecoration: "standard", diff --git a/src/facilities/nursery/nursery.tw b/src/facilities/nursery/nursery.tw index ccba47ae1b2..4d6636dd9a8 100644 --- a/src/facilities/nursery/nursery.tw +++ b/src/facilities/nursery/nursery.tw @@ -83,7 +83,6 @@ <<set $nannyInfluence = 1>> <<elseif $MatronID>> _S.Matron.slaveName is alone in $nurseryName, and keeps the place clean and looks after the children $himself. - <<set $MatronInfluence = 1>> <<elseif (_NL <= 0) && ($nurseryChildren <= 0)>> $nurseryNameCaps is empty and quiet. <div class="choices" style="font-style:normal"> -- GitLab