Skip to content

Commit

Permalink
bugfix2 for recycle
Browse files Browse the repository at this point in the history
  • Loading branch information
XenoAmess committed Sep 18, 2022
1 parent 3d97d23 commit 0ae5855
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/prototype_creep_startup_tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ Creep.recycleCreep = function(creep) {
const moveResult = creep.moveByPath(path);
if (moveResult === OK) {
recycleData.incompleteCount = 0;
recycleData.path = path.subarray(1);
creep.memory.recycleData = recycleData;
return true;
}
Expand Down

0 comments on commit 0ae5855

Please sign in to comment.