diff options
Diffstat (limited to 'src/core/gameserver.cc')
-rw-r--r-- | src/core/gameserver.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/gameserver.cc b/src/core/gameserver.cc index b6767ad..46c3624 100644 --- a/src/core/gameserver.cc +++ b/src/core/gameserver.cc @@ -622,7 +622,6 @@ void GameServer::frame(float seconds) if (server_network) { // send network updates server_network->frame(server_time, server_previoustime); - } // mark all entities as updated @@ -639,6 +638,11 @@ void GameServer::frame(float seconds) } } + if (localplayer()->zonechange()) { + application()->notify_zonechange(); + localplayer()->player_zonechange = false; + } + if (!Cvar::sv_dedicated->value()) { update_clientstate(0); } |