- Exhumed: wrap all serialized game data into another JSON object

# Conflicts:
#	source/exhumed/src/save.cpp
This commit is contained in:
Christoph Oelckers 2020-12-01 12:04:42 +01:00
parent f9866f4a21
commit 1b2895bee6

View file

@ -58,6 +58,8 @@ bool GameInterface::SaveGame()
}
void GameInterface::SerializeGameState(FSerializer& arc)
{
if (arc.BeginObject("exhumed"))
{
SerializeSwitch(arc);
SerializeView(arc);
@ -75,6 +77,7 @@ void GameInterface::SerializeGameState(FSerializer& arc)
SerializeSpider(arc);
SerializeWasp(arc);
}
}
bool GameInterface::LoadGame()
{