mirror of https://github.com/OpenTTD/OpenTTD.git
Fix: survey-time seconds for clients was calculated wrong (#12078)
This commit is contained in:
parent
bad31f2d42
commit
15c14a896f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue