summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubenwardy <rubenwardy@gmail.com>2017-02-16 00:47:42 +0000
committerJPG <jeanpatrick.guerrero@gmail.com>2017-02-17 21:21:19 +0100
commit4ba015e39a70725cab0531ee9e4f2fc1095fad00 (patch)
tree8d41252dbad45b343a430dad130d67d190429616
parent452b05d4503e1fbcc8307793e4454b7f37779139 (diff)
Fix typo in syntax for field_close_on_enter[]
Fixes #8
-rw-r--r--init.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 8a8601d..e1f4e52 100644
--- a/init.lua
+++ b/init.lua
@@ -167,7 +167,7 @@ function craftguide:get_formspec(player_name, is_fuel)
tooltip[clear;Reset]
tooltip[size_inc;Increase window size]
tooltip[size_dec;Decrease window size]
- field_close_on_enter[filter, false] ]]..
+ field_close_on_enter[filter;false] ]]..
"button["..(data.iX/2)..",-0.02;0.7,1;size_inc;+]"..
"button["..((data.iX/2) + 0.5)..
",-0.02;0.7,1;size_dec;-]"..
@@ -465,4 +465,3 @@ mt.register_craft({
})
mt.register_alias("xdecor:crafting_guide", "craftguide:book")
-