Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update position of attached motes based on real position (#473)
This should fix the issue with Noctol eyes, along with other attached motes being drawn away from the pawns they are attached to. This was likely never really noticed before due to no other vanilla attached motes having their position as important as here. Getting a DrawPos of a pawn during ticking will cause `PawnTweener.TweenedPos` to return `TweenedPosRoot` in MP to make the method deterministic. However, `MoteAttached` updated during simulation will draw it in an incorrect position due to the pawn position not being where it is visually. The fix here is to cause `PawnTweener.TweenedPos` patch not to run while calculating the position of the attached mote.
- Loading branch information