Update comment

This commit is contained in:
luk3yx 2023-01-21 14:13:49 +13:00
parent 3cf79396e3
commit 98203e032a

View File

@ -824,8 +824,7 @@ local function on_fs_input(player, formname, fields)
end end
end end
-- Some callbacks may be false to indicate that they're valid fields but -- Run on_event callbacks
-- don't need to be called
for field, value in pairs(fields) do for field, value in pairs(fields) do
if callbacks[field] and callbacks[field](player, ctx, value) then if callbacks[field] and callbacks[field](player, ctx, value) then
redraw_fs = true redraw_fs = true