Most console.log have been changed to console.warn or removed if they were debug

This commit is contained in:
Olivier Gagnon
2021-03-07 22:46:50 -05:00
parent 56a3660d38
commit 316a1aa475
19 changed files with 64 additions and 95 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ export function processSingleServerGrowth(server: Server, numCycles: number, p:
//Apply serverGrowth for the calculated number of growth cycles
let serverGrowth = Math.pow(adjGrowthRate, numServerGrowthCyclesAdjusted * p.hacking_grow_mult);
if (serverGrowth < 1) {
console.log("WARN: serverGrowth calculated to be less than 1");
console.warn("serverGrowth calculated to be less than 1");
serverGrowth = 1;
}