mirror of https://github.com/OpenTTD/OpenTTD
parent
19ca4089a1
commit
42fc32243d
|
@ -853,6 +853,10 @@ NetworkRecvStatus ClientNetworkGameSocketHandler::Receive_SERVER_MAP_DONE(Packet
|
||||||
|
|
||||||
/* The map is done downloading, load it */
|
/* The map is done downloading, load it */
|
||||||
ClearErrorMessages();
|
ClearErrorMessages();
|
||||||
|
|
||||||
|
/* Set the abstract filetype. This is read during savegame load. */
|
||||||
|
_file_to_saveload.SetMode(SLO_LOAD, FT_SAVEGAME, DFT_GAME_FILE);
|
||||||
|
|
||||||
bool load_success = SafeLoad({}, SLO_LOAD, DFT_GAME_FILE, GM_NORMAL, NO_DIRECTORY, this->savegame);
|
bool load_success = SafeLoad({}, SLO_LOAD, DFT_GAME_FILE, GM_NORMAL, NO_DIRECTORY, this->savegame);
|
||||||
this->savegame = nullptr;
|
this->savegame = nullptr;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue