From d282f9321c1284f22f8c08ac1185ce5580665e1d Mon Sep 17 00:00:00 2001 From: ObeseTermite Date: Tue, 10 Jun 2025 08:48:58 -0700 Subject: [PATCH] Made equalizer actually put stuff in the containers --- role_equalizer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/role_equalizer.js b/role_equalizer.js index 4c1a424..4533c74 100644 --- a/role_equalizer.js +++ b/role_equalizer.js @@ -36,7 +36,7 @@ function run(creep) { } }); - if(creep.withdraw(minContainer, RESOURCE_ENERGY) == ERR_NOT_IN_RANGE) { + if(creep.transfer(minContainer, RESOURCE_ENERGY) == ERR_NOT_IN_RANGE) { creep.moveTo(minContainer); } }