Update to 13.0-RC1
This commit is contained in:
@@ -69,7 +69,7 @@ struct GSDTChunkHandler : ChunkHandler {
|
||||
_game_saveload_version = -1;
|
||||
SlObject(nullptr, slt);
|
||||
|
||||
if (_networking && !_network_server) {
|
||||
if (_game_mode == GM_MENU || (_networking && !_network_server)) {
|
||||
GameInstance::LoadEmpty();
|
||||
if (SlIterateArray() != -1) SlErrorCorrupt("Too many GameScript configs");
|
||||
return;
|
||||
@@ -102,9 +102,8 @@ struct GSDTChunkHandler : ChunkHandler {
|
||||
|
||||
config->StringToSettings(_game_saveload_settings);
|
||||
|
||||
/* Start the GameScript directly if it was active in the savegame */
|
||||
Game::StartNew();
|
||||
Game::Load(_game_saveload_version);
|
||||
/* Load the GameScript saved data */
|
||||
config->SetToLoadData(GameInstance::Load(_game_saveload_version));
|
||||
|
||||
if (SlIterateArray() != -1) SlErrorCorrupt("Too many GameScript configs");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user