Commit 1db08db
committed
fix: (rotation) clear input/rotation history on immediate teardown to stop toggle-time Grim Simulation
The atomic disable teardown (immediate cancel) reset the rotation but kept the stale modifiedInput and server-rotation history. On the tick right after a module toggles off, GrimAC still reconstructed movement from the scaffold/silent-modified input against the now-real sent yaw, producing a Simulation offset (the 'sometimes flags on enable/disable' report). Pass resetHistory=immediate so an immediate teardown also reseeds lastRotations/actualServerRotation from the real rotation and clears modifiedInput, matching the reference build which has no such coupling.1 parent c843d4c commit 1db08db
1 file changed
Lines changed: 4 additions & 1 deletion
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
698 | | - | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
699 | 702 | | |
700 | 703 | | |
701 | 704 | | |
| |||
0 commit comments