V 0.34.2 Changes

This commit is contained in:
danielyxie
2018-01-27 00:52:39 -06:00
parent 8d72dd0f4e
commit 5f817c8016
17 changed files with 3242 additions and 1124 deletions
+2 -8
View File
@@ -937,7 +937,6 @@ let Engine = {
messages: 150,
stockTick: 30, //Update stock prices
sCr: 1500,
updateScriptEditorDisplay: 5,
},
decrementAllCounters: function(numCycles = 1) {
@@ -997,6 +996,8 @@ let Engine = {
if (Engine.Counters.updateDisplaysLong <= 0) {
if (Engine.currentPage === Engine.Page.Gang) {
updateGangContent();
} else if (Engine.currentPage === Engine.Page.ScriptEditor) {
updateScriptEditorContent();
}
Engine.Counters.updateDisplaysLong = 15;
}
@@ -1058,13 +1059,6 @@ let Engine = {
}
Engine.Counters.sCr = 1500;
}
if (Engine.Counters.updateScriptEditorDisplay <= 0) {
if (Engine.currentPage == Engine.Page.ScriptEditor) {
updateScriptEditorContent();
}
Engine.Counters.updateScriptEditorDisplay = 5;
}
},
/* Calculates the hack progress for a manual (non-scripted) hack and updates the progress bar/time accordingly */