From f5c34b6abb8145e176ae2f22ddb34d12261ed2b1 Mon Sep 17 00:00:00 2001 From: Dan Hamik Date: Tue, 26 Apr 2022 23:52:08 -0500 Subject: [PATCH] fix --- Room.Phase1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Room.Phase1.js b/Room.Phase1.js index a3b87ab..8630849 100644 --- a/Room.Phase1.js +++ b/Room.Phase1.js @@ -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)