Fix bugs related to the first time launching game

This commit is contained in:
Squishy (C6H12O6+NaCl+H2O)
2024-05-25 16:15:41 +07:00
parent dfeece9ddc
commit 9e1c8d4680
4 changed files with 31 additions and 10 deletions

View File

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