From aff6fc153be49c22bca6561658cc94166fd673aa Mon Sep 17 00:00:00 2001 From: kopareigns <kopareigns@gmail.com> Date: Sun, 27 Jan 2019 00:53:22 -0500 Subject: [PATCH] Fixes --- src/uncategorized/BackwardsCompatibility.tw | 1 + src/uncategorized/corporationDevelopments.tw | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/uncategorized/BackwardsCompatibility.tw b/src/uncategorized/BackwardsCompatibility.tw index a2d64636a0d..f2f935af3f7 100644 --- a/src/uncategorized/BackwardsCompatibility.tw +++ b/src/uncategorized/BackwardsCompatibility.tw @@ -2626,6 +2626,7 @@ Setting missing global variables: <<set $corpEasy = 0>> <</if>> <</if>> +<<set $dividendTimer = $dividendTimer || 13>> /*Removing the old Corp from save*/ <<if ndef $newCorp>> diff --git a/src/uncategorized/corporationDevelopments.tw b/src/uncategorized/corporationDevelopments.tw index 2b36ba256d3..efa17afa0ff 100644 --- a/src/uncategorized/corporationDevelopments.tw +++ b/src/uncategorized/corporationDevelopments.tw @@ -418,7 +418,7 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> $corpDivTrainSlaves2 = 0>> to the market and made @@.yellowgreen;<<print cashFormat(_corpDivTrainRev)>>.@@ <</if>> - <<elseif $corpDivTrainSlaves2 > 0>>It is holding <<if $corpDivTrainSlaves2 > 1>>$corpDivTrainSlaves2 trained slaves<<else>>one trained slave<<else>> at the end of the week.<</if>> + <<elseif $corpDivTrainSlaves2 > 0>>It is holding <<if $corpDivTrainSlaves2 > 1>>$corpDivTrainSlaves2 trained slaves<<elseif $corpDivTrainSlaves2 == 1>>one trained slave<<else>> at the end of the week.<</if>> <<if $corpDivTrainSlaves2 > Math.trunc($corpDivTrainDev * 0.4)>> <<if $corpDivTrainSurgeryTimer < 5 || $corpDivSurgery == 0>> <<set _corpDivTrainCapSlaves = $corpDivTrainSlaves2 - Math.trunc($corpDivTrainDev * 0.4), -- GitLab