mirror of
https://gitlab.com/luk3yx/minetest-flow.git
synced 2025-09-03 21:36:29 +02:00
Make formspec handler return true
This commit is contained in:
parent
5e10ed5da6
commit
3cf79396e3
3
init.lua
3
init.lua
@ -832,13 +832,14 @@ local function on_fs_input(player, formname, fields)
|
||||
end
|
||||
end
|
||||
|
||||
if open_formspecs[name] ~= form_info then return end
|
||||
if open_formspecs[name] ~= form_info then return true end
|
||||
|
||||
if fields.quit then
|
||||
open_formspecs[name] = nil
|
||||
elseif redraw_fs then
|
||||
update_form(form_info.self, player, form_info)
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
local function on_leaveplayer(player)
|
||||
|
Loading…
Reference in New Issue
Block a user