diff options
author | Pierre-Yves Rollo <dev@pyrollo.com> | 2015-11-11 14:32:22 +0100 |
---|---|---|
committer | Pierre-Yves Rollo <dev@pyrollo.com> | 2015-11-11 14:32:22 +0100 |
commit | e149447ebc00bd8126d8982e59bb77a5d0c5402b (patch) | |
tree | 4217a143f7ed86297c8f1aeeff9bbefd8a19e382 /signs | |
parent | d44bf53ea20136221d605e139f2b58328b68ce9c (diff) | |
download | display_modpack-e149447ebc00bd8126d8982e59bb77a5d0c5402b.tar.gz display_modpack-e149447ebc00bd8126d8982e59bb77a5d0c5402b.tar.bz2 display_modpack-e149447ebc00bd8126d8982e59bb77a5d0c5402b.zip |
Add underscore variable declaration
Diffstat (limited to 'signs')
-rw-r--r-- | signs/common.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/signs/common.lua b/signs/common.lua index 0433223..7ae420c 100644 --- a/signs/common.lua +++ b/signs/common.lua @@ -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 |