Minor cleaning

This commit is contained in:
Jean-Patrick Guerrero 2022-07-01 17:28:50 +02:00
parent 1627172cce
commit 1e9c3ce55a

View File

@ -313,7 +313,7 @@ end
local function rcp_fields(player, data, fields)
local sb_rcp, sb_usg = fields.scrbar_rcp, fields.scrbar_usg
if fields.filter and fields.filter == "" then
if data.filter == "" then
data.enable_search = nil
end