From 17891600578937c3250f8a6e051283d5da396309 Mon Sep 17 00:00:00 2001 From: uramer Date: Sun, 6 Nov 2022 19:36:58 +0100 Subject: [PATCH] Clear storage of setting groups on reloadlua --- files/data/scripts/omw/settings/common.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/files/data/scripts/omw/settings/common.lua b/files/data/scripts/omw/settings/common.lua index c5b085017c..cb83b4223b 100644 --- a/files/data/scripts/omw/settings/common.lua +++ b/files/data/scripts/omw/settings/common.lua @@ -6,6 +6,7 @@ local argumentSectionPostfix = 'Arguments' local contextSection = storage.playerSection or storage.globalSection local groupSection = contextSection(groupSectionKey) +groupSection:reset() groupSection:removeOnExit() local function validateSettingOptions(options)