Merge pull request #222 from anubisthejackle/issue80

This commit is contained in:
Blake Grotewold
2015-02-09 19:37:10 -05:00
7 changed files with 58 additions and 33 deletions
+1 -1
View File
@@ -220,7 +220,7 @@ var Outside = {
schedulePopIncrease: function() {
var nextIncrease = Math.floor(Math.random()*(Outside._POP_DELAY[1] - Outside._POP_DELAY[0])) + Outside._POP_DELAY[0];
Engine.log('next population increase scheduled in ' + nextIncrease + ' minutes');
Outside._popTimeout = setTimeout(Outside.increasePopulation, nextIncrease * 60 * 1000);
Outside._popTimeout = Engine.setTimeout(Outside.increasePopulation, nextIncrease * 60 * 1000);
},
updateWorkersView: function() {