mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 20:41:11 +01:00
Close editing formspec if sign is destroyed
This commit is contained in:
parent
262457f240
commit
d12356794f
1 changed files with 4 additions and 0 deletions
|
@ -187,6 +187,10 @@ local destruct_sign = function(pos)
|
||||||
v:remove()
|
v:remove()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
local players = minetest.get_connected_players()
|
||||||
|
for p=1, #players do
|
||||||
|
minetest.close_formspec(players[p]:get_player_name(), "mcl_signs:set_text_"..pos.x.."_"..pos.y.."_"..pos.z)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local update_sign = function(pos, fields, sender)
|
local update_sign = function(pos, fields, sender)
|
||||||
|
|
Loading…
Reference in a new issue