diff options
author | metamuffin <metamuffin@disroot.org> | 2025-03-23 23:06:12 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-03-23 23:06:12 +0100 |
commit | 4a2e90eccb8b13f9350c856b66f2632f08025e96 (patch) | |
tree | 5ee4b053a987d5c7c6f131fe46015b0b6c9fbfe4 /server/protocol/src/lib.rs | |
parent | 2795f974e95ff9b18f3b6e20db88d797e6e6c66c (diff) | |
download | hurrycurry-4a2e90eccb8b13f9350c856b66f2632f08025e96.tar hurrycurry-4a2e90eccb8b13f9350c856b66f2632f08025e96.tar.bz2 hurrycurry-4a2e90eccb8b13f9350c856b66f2632f08025e96.tar.zst |
pause game if all players are idle, closes #120
Diffstat (limited to 'server/protocol/src/lib.rs')
-rw-r--r-- | server/protocol/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs index 552c4eed..24e547f6 100644 --- a/server/protocol/src/lib.rs +++ b/server/protocol/src/lib.rs @@ -142,6 +142,9 @@ pub enum PacketS { pin: Option<bool>, }, + Idle { + paused: bool, + }, /// For use in replay sessions only ReplayTick { dt: f64, |