Open
Description
Testcase :
at RoomPosition.inRangeTo (:14512:20)
at Object.Creep.meeleAttackTarget (main:4335:18)
at attack$1 (main:310:11)
at run$9 (main:324:9)
at ErrorMapper.wrapLoop (main:4919:13)
at Object.loop (main:4097:17)
at __module (__mainLoop:1:52)
at __mainLoop:2:3
at Object.exports.evalCode (:15845:76)
at Object.exports.run (:46468:24)
I think if you take a look at the error ErrorMapper.ts
at this line you are checking if it is coming from the main
file and breaking. Sometimes the first match doesn't necessarily come from main
as seen in the above stack trace.
The possible solution for this was to remove the corresponding else block. While this solves this case I'm not sure if it is a general solution.
Metadata
Metadata
Assignees
Labels
No labels