mirror of
https://github.com/ExeVirus/formspec_editor.git
synced 2025-03-15 06:01:25 +00:00
fix shadowing var (luacheck)
This commit is contained in:
parent
6de8e67842
commit
5201b1b787
1 changed files with 3 additions and 5 deletions
|
@ -61,11 +61,9 @@ end
|
|||
--update_formspec()
|
||||
-----------------------------------
|
||||
update_formspec = function(player_name)
|
||||
minetest.after(0.1,
|
||||
function(player_name)
|
||||
minetest.show_formspec(player_name, "fs", load_formspec())
|
||||
end,
|
||||
player_name)
|
||||
minetest.after(0.1, function(name)
|
||||
minetest.show_formspec(name, "fs", load_formspec())
|
||||
end, player_name)
|
||||
end
|
||||
|
||||
-----------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue