Fixed bug where you could purchase Darkweb items without router

This commit is contained in:
Daniel Xie
2017-06-13 20:07:02 -05:00
parent 69d4af01ff
commit 4aa7edb576
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -695,7 +695,7 @@ processSingleServerGrowth = function(server, numCycles) {
var numServerGrowthCyclesAdjusted = numServerGrowthCycles * serverGrowthPercentage;
//Apply serverGrowth for the calculated number of growth cycles
var serverGrowth = Math.pow(adjGrowthRate, numServerGrowthCyclesAdjusted * Player.hacking_grow_mult) ;
var serverGrowth = Math.pow(adjGrowthRate, numServerGrowthCyclesAdjusted * Player.hacking_grow_mult);
if (serverGrowth < 1) {
console.log("WARN: serverGrowth calculated to be less than 1");
serverGrowth = 1;