X-12 / andromeda

0 stars 0 forks source link

Revise callback design, fix various errors #162

Closed jextrevor closed 7 years ago

jextrevor commented 7 years ago

As it turns out, the callbacks still weren't getting executed correctly. I've done a few tweaks, so now, when you set up a watch, you also pass a context object (the current object) that each system can then set as "this" when it executes the callback.

There was also a bug in radar.js and one on targeting.js that I have fixed.