Fix again

This commit is contained in:
Jean-Patrick Guerrero 2022-07-03 05:00:13 +02:00
parent dca93b7249
commit 057f0cf03f
2 changed files with 6 additions and 2 deletions

View File

@ -20,7 +20,7 @@ local function lf(path)
end
i3 = {
version = 173,
version = 174,
data = core.deserialize(storage:get_string"data") or {},
settings = {

View File

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