mirror of
https://github.com/pyrollo/display_modpack.git
synced 2024-09-11 23:36:44 +02:00
Add underscore variable declaration
This commit is contained in:
parent
d44bf53ea2
commit
e149447ebc
@ -202,8 +202,7 @@ end
|
||||
|
||||
-- Generic callback for show_formspec displayed formspecs
|
||||
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
||||
local found, mod, node_name, pos
|
||||
found, _, mod, node_name, pos = formname:find("([%w_]+):([%w_]+)@(.+)")
|
||||
local found, _, mod, node_name, pos = formname:find("([%w_]+):([%w_]+)@(.+)")
|
||||
|
||||
if found then
|
||||
if mod ~= 'signs' then return end
|
||||
|
Loading…
Reference in New Issue
Block a user