fix $exit area tracking bug

This commit is contained in:
Martin Michelsen
2023-06-12 19:25:58 -07:00
parent e18c3fc43d
commit 6224479d76
+1
View File
@@ -354,6 +354,7 @@ static void server_command_exit(shared_ptr<ServerState> s, shared_ptr<Lobby> 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");
}