mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Make supplying empty formspec strings close the formspec (#4737)
This will only happen if the formname matches or if formname is "".
This commit is contained in:
@@ -239,3 +239,7 @@ else
|
||||
|
||||
end
|
||||
|
||||
function core.close_formspec(player_name, formname)
|
||||
return minetest.show_formspec(player_name, formname, "")
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user