diff options
author | metamuffin <metamuffin@disroot.org> | 2024-08-19 15:34:50 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-08-19 15:34:53 +0200 |
commit | 32d268abba60d2bfee877b7c5ee2e0d0c4e91565 (patch) | |
tree | e5543b36cb981e5be93ba06e21ab988560e0bd47 /server/src/state.rs | |
parent | 06508575d4e6e2deb04886058fb40a2e92e105f7 (diff) | |
download | hurrycurry-32d268abba60d2bfee877b7c5ee2e0d0c4e91565.tar hurrycurry-32d268abba60d2bfee877b7c5ee2e0d0c4e91565.tar.bz2 hurrycurry-32d268abba60d2bfee877b7c5ee2e0d0c4e91565.tar.zst |
remove duplicated lobby flag. fixes lobby abort bug
Diffstat (limited to 'server/src/state.rs')
-rw-r--r-- | server/src/state.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/state.rs b/server/src/state.rs index f6304db5..20a57b9d 100644 --- a/server/src/state.rs +++ b/server/src/state.rs @@ -185,7 +185,7 @@ impl State { } } - if server.count_chefs() <= 0 && !server.state.lobby { + if server.count_chefs() <= 0 && !server.game.lobby { self.tx .send(PacketC::ServerMessage { text: "Game was aborted automatically due to a lack of players".to_string(), |