summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-08-20 03:38:38 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-08-20 03:38:38 -0400
commitc1dffa70f0539d591024c1a623dbc5c9338831c3 (patch)
tree3e88278144028fba5d1d62c3d232675a94dea31e
parenta38ef007c2c4edbd5e68b8f93d9149c680f2dc4c (diff)
downloadpipeworks-c1dffa70f0539d591024c1a623dbc5c9338831c3.tar
pipeworks-c1dffa70f0539d591024c1a623dbc5c9338831c3.tar.gz
pipeworks-c1dffa70f0539d591024c1a623dbc5c9338831c3.tar.bz2
pipeworks-c1dffa70f0539d591024c1a623dbc5c9338831c3.tar.xz
pipeworks-c1dffa70f0539d591024c1a623dbc5c9338831c3.zip
fixed wrong veriable in creative inventory filter
-rw-r--r--devices.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/devices.lua b/devices.lua
index 6d9b27b..f13fab6 100644
--- a/devices.lua
+++ b/devices.lua
@@ -44,7 +44,7 @@ local dgroups = ""
for s in ipairs(states) do
- if s == "off" then
+ if states[s] == "off" then
dgroups = {snappy=3, pipe=1}
else
dgroups = {snappy=3, pipe=1, not_in_creative_inventory=1}