make $exit command work in games

This commit is contained in:
Martin Michelsen
2023-05-12 23:24:41 -07:00
parent a7b3c496d0
commit f813ed68df
5 changed files with 25 additions and 3 deletions
+2 -1
View File
@@ -473,7 +473,8 @@ ProxyServer::LinkedSession::LinkedSession(
area(0),
x(0.0),
z(0.0),
is_in_game(false) {
is_in_game(false),
is_in_quest(false) {
this->last_switch_enabled_command.header.subcommand = 0;
memset(this->prev_server_command_bytes, 0, sizeof(this->prev_server_command_bytes));
}