From 83c6d89e1b08426cc9571a15a179397e95ceeab5 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Mon, 3 Apr 2023 08:46:15 +0300 Subject: [PATCH] fix(client): softlock when trying to create another game --- client/src/plugins/networking/systems/events/receive/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/plugins/networking/systems/events/receive/mod.rs b/client/src/plugins/networking/systems/events/receive/mod.rs index b5fb554..b3a39f9 100644 --- a/client/src/plugins/networking/systems/events/receive/mod.rs +++ b/client/src/plugins/networking/systems/events/receive/mod.rs @@ -99,6 +99,8 @@ pub fn message_events( serde_json::from_str(response.data.unwrap().get(0).unwrap()).unwrap(); global.cur_game = Some(game); play_data.state = PlayScreenState::InLobbyHost; + + play_data.waiting_for_create_game = false; } DataRequestType::GameAllForming => { // TODO: handle -- 2.44.1