Temproraily allowing save

This commit is contained in:
Squishy (C6H12O6+NaCl+H2O)
2024-05-25 00:39:11 +07:00
parent 1b5c736c95
commit cf1063c83b
3 changed files with 15 additions and 16 deletions

View File

@@ -32,7 +32,7 @@ local _defaultSettings = {
}
SETTINGS = setmetatable(
{},
{__force_saving__ = function() bitser.dumpLoveFile(CONFIG_FILE,_settings) end},
{
__index = function(_, k)
return _settings[k] == nil and _defaultSettings[k] or _settings[k]