From 0189d19d1482dfd5af22c7a0fa7160e9fb96cac3 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Thu, 1 Aug 2019 15:47:13 +0300 Subject: [PATCH] [Server] Clear new types of records in ClearRecords() --- apps/openmw-mp/Script/Functions/RecordsDynamic.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/openmw-mp/Script/Functions/RecordsDynamic.cpp b/apps/openmw-mp/Script/Functions/RecordsDynamic.cpp index ffe3425ae..ad625a2d0 100644 --- a/apps/openmw-mp/Script/Functions/RecordsDynamic.cpp +++ b/apps/openmw-mp/Script/Functions/RecordsDynamic.cpp @@ -61,6 +61,10 @@ void RecordsDynamicFunctions::ClearRecords() noexcept WorldstateFunctions::writeWorldstate.clothingRecords.clear(); WorldstateFunctions::writeWorldstate.miscellaneousRecords.clear(); WorldstateFunctions::writeWorldstate.weaponRecords.clear(); + WorldstateFunctions::writeWorldstate.containerRecords.clear(); + WorldstateFunctions::writeWorldstate.doorRecords.clear(); + WorldstateFunctions::writeWorldstate.activatorRecords.clear(); + WorldstateFunctions::writeWorldstate.staticRecords.clear(); } unsigned short RecordsDynamicFunctions::GetRecordType() noexcept