Implemented server growth (might need rebalancing). No wwhen a script is killed it is properly removed from the Active Scripts tab

This commit is contained in:
Daniel Xie
2016-12-20 14:18:34 -06:00
parent e2316e4a1d
commit f1ec376f33
6 changed files with 67 additions and 12 deletions
+1 -3
View File
@@ -196,9 +196,7 @@ scriptCalculateOfflineProduction = function(script) {
script.offlineMoneyMade += production;
script.offlineRunningTime += timePassed;
script.offlineExpGained += expGain;
//TODO EXP
//DEBUG
var serverName = AllServers[script.server].hostname;
console.log(script.filename + " from server " + serverName + " generated $" + production.toString() + " while offline");