This commit is contained in:
Dan Hamik 2022-04-26 23:52:08 -05:00
parent eab9643b84
commit f5c34b6abb

View File

@ -49,7 +49,7 @@ let Phase1 = {
require('proc.spawning').spawnminer(room)
} else { if(Game.flags.debug && Game.flags.debug.room == Game.rooms[room]){console.log("Not spawning miner in " + room + ", waiting for regen")}}
}
if((game.rooms[room].terminal.store[RESOURCE_ENERGY] > 200000 )){
if((Game.rooms[room].terminal.store[RESOURCE_ENERGY] > 200000 )){
require('proc.market').sellEnergy(room)
}
//require('proc.market').sellEnergy(room)