Small fix

This commit is contained in:
Jean-Patrick Guerrero 2020-12-31 21:57:43 +01:00
parent 28bd5a9886
commit dc6c43166c

View File

@ -2127,7 +2127,7 @@ on_joinplayer(function(player)
end) end)
on_receive_fields(function(player, formname, _f) on_receive_fields(function(player, formname, _f)
if _f.quit or formname ~= "" then return false end if formname ~= "" then return false end
local name = player:get_player_name() local name = player:get_player_name()
local data = pdata[name] local data = pdata[name]
local sb_rcp, sb_usg, sb_inv = _f.scrbar_rcp, _f.scrbar_usg, _f.scrbar_inv local sb_rcp, sb_usg, sb_inv = _f.scrbar_rcp, _f.scrbar_usg, _f.scrbar_inv