1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00

Use a new life time API

This commit is contained in:
Andrei Kortunov 2024-02-27 08:04:45 +04:00
parent ddd0945645
commit 2a4f12b96e

View File

@ -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',