Open Cojoke-dot opened 3 months ago
Tricky! Being controlled by a mouse disables prediction for the player's character, but if the player is controlling another entity (like a box), that entity doesn't have its prediction disabled. This will probably cause the same issue with vehicles, once they've been reimplemented.
Probably could do something where the prediction disabling is propagated up through containers, or maybe the prediction check event should be related to children.
Description
Some waky things happen if a mob who is piloted by a mouse with a chef hat tries to move at the same time as the mouse when in a box. Reproduction
Additional context
From looking at the videos in the pr that added the chef's hat fun and how it feels when you're in the box, my guess is that being in the box re-enables prediction for the two controlling the box. https://github.com/space-wizards/space-station-14/pull/25950#issuecomment-1988471652