From 2a836e9a04bd3c0a65699c778a565d9e4e78f6e2 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Thu, 17 Mar 2022 18:33:40 -0700 Subject: [PATCH] fix erroneous use of download quest commands in games --- src/ReceiveCommands.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReceiveCommands.cc b/src/ReceiveCommands.cc index bdf422bf..b7fe7e46 100644 --- a/src/ReceiveCommands.cc +++ b/src/ReceiveCommands.cc @@ -820,7 +820,7 @@ void process_menu_selection(shared_ptr s, shared_ptr c, // Otherwise, they must be in a game to load a quest. shared_ptr l; if (c->lobby_id) { - auto l = s->find_lobby(c->lobby_id); + l = s->find_lobby(c->lobby_id); if (!l->is_game()) { send_lobby_message_box(c, u"$C6Quests cannot be loaded\nin lobbies."); break;