From 6224479d769f42ddced91a9e90e97b39f280c720 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Mon, 12 Jun 2023 19:25:58 -0700 Subject: [PATCH] fix $exit area tracking bug --- src/ChatCommands.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ChatCommands.cc b/src/ChatCommands.cc index e7a4fa23..7fef5819 100644 --- a/src/ChatCommands.cc +++ b/src/ChatCommands.cc @@ -354,6 +354,7 @@ static void server_command_exit(shared_ptr s, shared_ptr l, } else if (l->flags & (Lobby::Flag::QUEST_IN_PROGRESS | Lobby::Flag::JOINABLE_QUEST_IN_PROGRESS)) { G_UnusedHeader cmd = {0x73, 0x01, 0x0000}; c->channel.send(0x60, 0x00, cmd); + c->area = 0; } else { send_text_message(c, u"$C6You must return to\nthe lobby first"); }