mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-26 11:10:58 +02:00
Added Options button to top right overview. Script object optimization by deleting server maps when not active. Fixed issue with servers getting negative money
This commit is contained in:
+4
-1
@@ -1237,7 +1237,10 @@ var Terminal = {
|
||||
server.runningScripts.push(script.filename); //Push onto runningScripts
|
||||
|
||||
//Initialize the maps for counting grow/hack/weaken
|
||||
//script.moneyStolenMap = new AllServersMap();
|
||||
script.moneyStolenMap = new AllServersMap();
|
||||
script.numTimesHackMap = new AllServersMap();
|
||||
script.numTimesGrowMap = new AllServersMap();
|
||||
script.numTimesWeakenMap = new AllServersMap();
|
||||
|
||||
addWorkerScript(script, server);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user