Upon opening window, all of the running scripts are loaded into WorkerScripts

This commit is contained in:
Daniel Xie
2016-12-14 15:22:12 -06:00
parent 23c036827f
commit 334c144bae
3 changed files with 8 additions and 4 deletions
+1
View File
@@ -247,6 +247,7 @@ var Engine = {
console.log("Loaded game from save");
Companies.init();
CompanyPositions.init();
loadAllRunningScripts();
} else {
//No save found, start new game
console.log("Initializing new game");