summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-01-30 05:32:17 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-01-30 05:32:17 -0500
commitde61a1333b00fede838a588b51c6d36fc471dca2 (patch)
treee3d0afd55d0a9e9bd237e6f37df7f76e0b9d3579
parent1b0e384278f56d3705b5e14bcdb640188a6f246a (diff)
downloadunifieddyes-de61a1333b00fede838a588b51c6d36fc471dca2.tar
unifieddyes-de61a1333b00fede838a588b51c6d36fc471dca2.tar.gz
unifieddyes-de61a1333b00fede838a588b51c6d36fc471dca2.tar.bz2
unifieddyes-de61a1333b00fede838a588b51c6d36fc471dca2.tar.xz
unifieddyes-de61a1333b00fede838a588b51c6d36fc471dca2.zip
fix wallmounted grey numbering
-rw-r--r--init.lua10
1 files changed, 1 insertions, 9 deletions
diff --git a/init.lua b/init.lua
index 87c71ad..600f795 100644
--- a/init.lua
+++ b/init.lua
@@ -208,24 +208,16 @@ function unifieddyes.getpaletteidx(color, is_color_fdir)
color = aliases[color] or color
local idx
- print("unified dyes says color = "..color)
-
if is_color_fdir == "wallmounted" then
- print("is wallmounted")
if grayscale_wallmounted[color] then
- print("is in grayscale_wallmounted[]")
- return (grayscale_wallmounted[color] * 64), 0
+ return (grayscale_wallmounted[color] * 8), 0
end
elseif is_color_fdir then
- print("is_color_fdir")
if grayscale[color] then
- print("is in grayscale[]")
return (grayscale[color] * 32), 0
end
else
- print("is not color fdir")
if grayscale[color] then
- print("is in grayscale[]")
return grayscale[color], 0
end
end