1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-28 08:59:09 +00:00

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

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