Merge branch 'cg8-1595-new' into cg8-1595

This commit is contained in:
Ludovic Marie
2026-10-24 23:04:58 +02:00
+4 -1
View File
@@ -3109,6 +3109,7 @@ impl Game<'_> {
// must continue, as well as moves into the unloaded area.
if let Some(r) = self.remote.as_ref()
&& r.loaded_sent
&& !self.pause
{
let input = r.last_input;
self.remote_send_state(input);
@@ -3240,7 +3241,9 @@ impl Game<'_> {
data: 0,
}));
}
self.remote_send_state(input);
if !self.pause {
self.remote_send_state(input);
}
Ok(())
}