Add underscore variable declaration

This commit is contained in:
Pierre-Yves Rollo 2015-11-11 14:32:22 +01:00
parent d44bf53ea2
commit e149447ebc
1 changed files with 1 additions and 2 deletions

View File

@ -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