bencbartlett/Overmind

Disappearing ramparts are causing exceptions.

GuguKatze opened this issue · 0 comments

Freshly placed ramparts which decay into nothingness are causing exceptions.

Call Game.getObjectById before repairing? Can we eval{} method calls of cached objects?

Error: Could not find an object with ID 5c8dc8fad28d7c49243b848a at data (<runtime>:36531:19) at Object.get [as spawning] (eval at exports.defineGameObjectProperties (<runtime>:1017:9), <anonymous>:6:68) at Object.repair (<runtime>:37325:17) at Zerg.repair (main:20117:33) at TaskFortify.work (main:3907:27) at TaskFortify.run (main:3735:31) at Zerg.run (main:20344:30) at WorkerOverlord.autoRun (main:7359:19) at WorkerOverlord.run (main:9452:14)