1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-27 04:40:26 +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 storage = require('openmw.storage')
local common = require('scripts.omw.settings.common') local common = require('scripts.omw.settings.common')
common.getSection(true, common.groupSectionKey):removeOnExit() common.getSection(true, common.groupSectionKey):setLifeTime(storage.LIFE_TIME.Temporary)
return { return {
interfaceName = 'Settings', interfaceName = 'Settings',