Made equalizer actually put stuff in the containers

This commit is contained in:
ObeseTermite 2025-06-10 08:48:58 -07:00
parent 2203342421
commit d282f9321c

View file

@ -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);
}
}