laverdet / xxscreeps

Other
71 stars 16 forks source link

Fix drop requiring MOVE body part #68

Closed blbu closed 4 months ago

blbu commented 4 months ago

Do you read this the same way I do: drop shouldn't require MOVE body part?

xxscreeps: https://github.com/laverdet/xxscreeps/blob/main/src/mods/creep/creep.ts#L470

screeps: https://github.com/screeps/engine/blob/master/src/game/creeps.js#L404

Change:

-         () => checkCommon(creep, C.MOVE),
+         () => checkCommon(creep),

Will try to raise a PR :).