Revert "Use min server.moneyAvailable of 1$ when growing server money"

This commit is contained in:
hydroflame
2022-01-26 00:35:42 -05:00
committed by GitHub
parent 0a0b7db06f
commit 5e10f7df1f
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -74,8 +74,8 @@ export function processSingleServerGrowth(server: Server, threads: number, p: IP
serverGrowth = 1;
}
server.moneyAvailable = Math.max(server.moneyAvailable, 1); // It can be grown even if it has no money. 1$ min
const oldMoneyAvailable = server.moneyAvailable;
server.moneyAvailable += 1 * threads; // It can be grown even if it has no money
server.moneyAvailable *= serverGrowth;
// in case of data corruption