Bugfix maybe

This commit is contained in:
luk3yx 2021-01-14 18:35:20 +13:00
parent cf877bae5f
commit de98dea8fb
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
if not data or data.formname ~= formname then return end
-- Nuke the formspec if required
if fields.quit then open_formspecs[pname] = nil end
if fields.quit then form:close() end
-- Run generic callbacks
run_callbacks(data.callbacks[''], form, fields)