mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 11:27:04 +02:00
Rebalancing stock market and infiltration, updated changelog/documentation
This commit is contained in:
+4
-1
@@ -703,7 +703,10 @@ processSingleServerGrowth = function(server, numCycles) {
|
||||
}
|
||||
|
||||
server.moneyAvailable *= serverGrowth;
|
||||
if (server.moneyMax && server.moneyAvailable >= server.moneyMax) {
|
||||
if (server.moneyMax && isNaN(server.moneyAvailable)) {
|
||||
server.moneyAvailable = server.moneyMax;
|
||||
}
|
||||
if (server.moneyMax && server.moneyAvailable > server.moneyMax) {
|
||||
server.moneyAvailable = server.moneyMax;
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user