This commit is contained in:
luk3yx 2019-08-15 17:42:21 +12:00
parent 5e9f0c8150
commit 214ec19ed4
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ Form.open = Form.show
function Form:close() function Form:close()
local data = get(self) local data = get(self)
if open_formspecs[data.victim] == self then if open_formspecs[data.victim] == self then
minetest.close_formspec(data.victim, data.name) minetest.close_formspec(data.victim, data.formname)
open_formspecs[data.victim] = nil open_formspecs[data.victim] = nil
end end
end end