Why is it returning all creeps instead of just the ones with the role “upgrader”?

后端 未结 0 1571
感情败类
感情败类 2021-01-17 14:17
        let foundUpgraderCreeps = spawner.room.find(FIND_MY_CREEPS,
        { fitler: (creep) => { return creep.memory.role === \'upgrader\'; }});
<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题