Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sluggish AI/camera eye movement (#28327)
* Fix sluggish AI eye movement Fixes #28326 With the AI eye refactor, a `Moved()` callback was implicitly added to each call to `set_loc` on a camera eye. As camera eyes are completely invisible and do not directly interact with the game world, this extra processing isn't necessary. Removing it also removed the noted sluggishness. * Re-adds Moved() call to set_loc, adds parameters The Moved() call removed in the previous commit was not actually completely unnecessary, or newly added. Rather, new parameters were added that were not accounted form namely `momentum_change`. This commit re-adds parent proc call to set_loc for camera eyes, and adds the correct parameter values to Moved() in `/atom/movable/proc/set_loc`.
- Loading branch information