From 8f90e64e80a88adffc6816508aa13bb87a90f5e6 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sun, 15 May 2022 17:54:41 +0300 Subject: [PATCH] [Server] Make ClearRecords() clear GameSetting records as well --- apps/openmw-mp/Script/Functions/RecordsDynamic.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/openmw-mp/Script/Functions/RecordsDynamic.cpp b/apps/openmw-mp/Script/Functions/RecordsDynamic.cpp index d63302ed4..d4cbb4b00 100644 --- a/apps/openmw-mp/Script/Functions/RecordsDynamic.cpp +++ b/apps/openmw-mp/Script/Functions/RecordsDynamic.cpp @@ -86,6 +86,7 @@ void RecordsDynamicFunctions::ClearRecords() noexcept WorldstateFunctions::writeWorldstate.scriptRecords.clear(); WorldstateFunctions::writeWorldstate.staticRecords.clear(); WorldstateFunctions::writeWorldstate.soundRecords.clear(); + WorldstateFunctions::writeWorldstate.gameSettingRecords.clear(); } unsigned short RecordsDynamicFunctions::GetRecordType() noexcept