simplify the worker a little.

This commit is contained in:
2026-07-01 00:38:15 +02:00
parent 1e9b14f21c
commit aacf582e10
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ void DouwcoHivemind::Worker::loop() {
}
void DouwcoHivemind::Worker::getEnergy() {
if (foundContainer || Screeps::Game.time()%100==0) collectEnergyFromContainers();
if (foundContainer) collectEnergyFromContainers();
else harvestSource();
}