summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Kortunov <andrei.kortunov@yandex.ru>2024-02-27 08:04:45 +0400
committerAndrei Kortunov <andrei.kortunov@yandex.ru>2024-02-27 23:26:26 +0400
commit2a4f12b96e197a9fef5fb964b9f2dbfb6a798698 (patch)
tree0ee12c7a2a20fabd1004e284f563bd9a78d8c097
parentddd09456453f31bcefc18688655edd7b8165e00f (diff)
Use a new life time API
-rw-r--r--files/data/scripts/omw/settings/global.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/data/scripts/omw/settings/global.lua b/files/data/scripts/omw/settings/global.lua
index f7356d15c4..15a9614636 100644
--- a/files/data/scripts/omw/settings/global.lua
+++ b/files/data/scripts/omw/settings/global.lua
@@ -1,7 +1,7 @@
local storage = require('openmw.storage')
local common = require('scripts.omw.settings.common')
-common.getSection(true, common.groupSectionKey):removeOnExit()
+common.getSection(true, common.groupSectionKey):setLifeTime(storage.LIFE_TIME.Temporary)
return {
interfaceName = 'Settings',