Fix: survey-time seconds for clients was calculated wrong (#12078)

This commit is contained in:
Patric Stout 2024-02-12 22:56:27 +01:00 committed by GitHub
parent bad31f2d42
commit 15c14a896f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -881,6 +881,9 @@ NetworkRecvStatus ClientNetworkGameSocketHandler::Receive_SERVER_MAP_DONE(Packet
/* Say we received the map and loaded it correctly! */
SendMapOk();
/* As we skipped switch-mode, update the time we "switched". */
_switch_mode_time = std::chrono::steady_clock::now();
ShowClientList();
/* New company/spectator (invalid company) or company we want to join is not active