diff options
author | Jeija <norrepli@gmail.com> | 2013-02-12 10:58:29 +0100 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2013-02-12 10:58:29 +0100 |
commit | 1c4ab938ad6d1a45dc30d0f276c75b248f9796cf (patch) | |
tree | ac6b1bfb5545b9c7a9771a1ba879d3dad70a4b47 | |
parent | eeed4f148d95dd418ecee54fc6dfb22ab47f5f1b (diff) | |
download | mesecons-1c4ab938ad6d1a45dc30d0f276c75b248f9796cf.tar mesecons-1c4ab938ad6d1a45dc30d0f276c75b248f9796cf.tar.gz mesecons-1c4ab938ad6d1a45dc30d0f276c75b248f9796cf.tar.bz2 mesecons-1c4ab938ad6d1a45dc30d0f276c75b248f9796cf.tar.xz mesecons-1c4ab938ad6d1a45dc30d0f276c75b248f9796cf.zip |
Fix a dumb bug that conflicted with different things in the luacontroller
-rw-r--r-- | mesecons_luacontroller/init.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesecons_luacontroller/init.lua b/mesecons_luacontroller/init.lua index 5141f8a..d0c98ad 100644 --- a/mesecons_luacontroller/init.lua +++ b/mesecons_luacontroller/init.lua @@ -57,9 +57,9 @@ end local generate_name = function (ports, overwrite) local overwrite = overwrite or {} local d = overwrite.d or (ports.d and 1 or 0) - local c = overwrite.d or (ports.c and 1 or 0) - local b = overwrite.d or (ports.b and 1 or 0) - local a = overwrite.d or (ports.a and 1 or 0) + local c = overwrite.c or (ports.c and 1 or 0) + local b = overwrite.b or (ports.b and 1 or 0) + local a = overwrite.a or (ports.a and 1 or 0) return BASENAME..d..c..b..a end |