From 0b1136060fc0f539e5b2f5ec3e4e04fa5f271e3d Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Mon, 10 Dec 2007 19:28:08 +0000 Subject: [PATCH] resend options when menu closes --- src/game/client/game_client.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp index 70635e10b..01681155c 100644 --- a/src/game/client/game_client.cpp +++ b/src/game/client/game_client.cpp @@ -2115,6 +2115,16 @@ void render_game() } } + // make sure to send our info again if the menu closes + static bool menu_was_active = false; + if(menu_active) + menu_was_active = true; + else if(menu_was_active) + { + send_info(false); + menu_was_active = false; + } + // handle chat input if (!menu_active) {