From 7417beaac1d211cefabf357219b5a54c72342f95 Mon Sep 17 00:00:00 2001 From: Blank <blank@national.shitposting.agency> Date: Mon, 19 Aug 2019 22:02:57 -0700 Subject: [PATCH] Pc wounded fixes and java compiler cleaning --- devTools/javaSanityCheck/excluded | 3 ++- src/SecExp/js/secExpState.js | 2 -- src/uncategorized/persBusiness.tw | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/devTools/javaSanityCheck/excluded b/devTools/javaSanityCheck/excluded index 366db3e9aa9..f4939870ee9 100644 --- a/devTools/javaSanityCheck/excluded +++ b/devTools/javaSanityCheck/excluded @@ -12,4 +12,5 @@ src/pregmod/editGenetics.tw;L src/001-lib/Jquery/Jquery.js;O src/001-lib/mousetrap/mousetrap.js;O src/002-config/sugarCubeConfig.js;O -src/SecExp/secExp.js;O \ No newline at end of file +src/SecExp/js/secExp.js;O +src/js/economyJS.js;S \ No newline at end of file diff --git a/src/SecExp/js/secExpState.js b/src/SecExp/js/secExpState.js index 4d173c1663d..9ef180c1454 100644 --- a/src/SecExp/js/secExpState.js +++ b/src/SecExp/js/secExpState.js @@ -111,8 +111,6 @@ App.SecExp.SecurityExpansionState = class SecurityExpansionState { this.security = new App.SecExp.securityState(); this.buildings = new App.SecExp.buildingState(); this.proclamation = new App.SecExp.buildingState(); - - this.pcWounded = 0; } /** Creates an object suitable for setting nested attributes as it would be a SecurityExpansionState diff --git a/src/uncategorized/persBusiness.tw b/src/uncategorized/persBusiness.tw index d08217cb045..666c0e5a1f1 100644 --- a/src/uncategorized/persBusiness.tw +++ b/src/uncategorized/persBusiness.tw @@ -28,8 +28,8 @@ <</if>> <</if>> <<elseif $PCWounded>> - <<if $PCWoundedWounded > 0>> - <<set $PCWoundedWounded-->> + <<if $PCWounded > 0>> + <<set $PCWounded-->> The injuries received in the recent battle prevents you from engaging in tiring endeavors. <<if $PCWounded > 1>> Your trusted physician believes it will still take a few weeks to fully recover. -- GitLab