Fix again
This commit is contained in:
parent
dca93b7249
commit
057f0cf03f
2
init.lua
2
init.lua
|
@ -20,7 +20,7 @@ local function lf(path)
|
|||
end
|
||||
|
||||
i3 = {
|
||||
version = 173,
|
||||
version = 174,
|
||||
data = core.deserialize(storage:get_string"data") or {},
|
||||
|
||||
settings = {
|
||||
|
|
|
@ -95,6 +95,10 @@ local function inv_fields(player, data, fields)
|
|||
data.waypoint_see = nil
|
||||
data.bag_rename = nil
|
||||
|
||||
if data.filter == "" then
|
||||
data.enable_search = nil
|
||||
end
|
||||
|
||||
elseif fields.trash then
|
||||
data.show_settings = nil
|
||||
data.confirm_trash = true
|
||||
|
@ -309,7 +313,7 @@ end
|
|||
local function rcp_fields(player, data, fields)
|
||||
local sb_rcp, sb_usg = fields.scrbar_rcp, fields.scrbar_usg
|
||||
|
||||
if data.filter == "" then
|
||||
if fields.filter and fields.filter == "" then
|
||||
data.enable_search = nil
|
||||
end
|
||||
|
||||
|
|
Ŝarĝante…
Reference in New Issue