- 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

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