mirror of https://github.com/OpenTTD/OpenTTD
Fix: survey-time seconds for clients was calculated wrong (#12078)
parent
bad31f2d42
commit
15c14a896f
|
@ -881,6 +881,9 @@ NetworkRecvStatus ClientNetworkGameSocketHandler::Receive_SERVER_MAP_DONE(Packet
|
||||||
/* Say we received the map and loaded it correctly! */
|
/* Say we received the map and loaded it correctly! */
|
||||||
SendMapOk();
|
SendMapOk();
|
||||||
|
|
||||||
|
/* As we skipped switch-mode, update the time we "switched". */
|
||||||
|
_switch_mode_time = std::chrono::steady_clock::now();
|
||||||
|
|
||||||
ShowClientList();
|
ShowClientList();
|
||||||
|
|
||||||
/* New company/spectator (invalid company) or company we want to join is not active
|
/* New company/spectator (invalid company) or company we want to join is not active
|
||||||
|
|
Loading…
Reference in New Issue