From 1b2895bee6941d6ef642d9aff25ee19fdd252192 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 1 Dec 2020 12:04:42 +0100 Subject: [PATCH] - Exhumed: wrap all serialized game data into another JSON object # Conflicts: # source/exhumed/src/save.cpp --- source/exhumed/src/save.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/exhumed/src/save.cpp b/source/exhumed/src/save.cpp index e4b3b9349..beea0175f 100644 --- a/source/exhumed/src/save.cpp +++ b/source/exhumed/src/save.cpp @@ -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()