Simplify facade shape coloring
This commit is contained in:
@@ -84,7 +84,7 @@ drawTurret lw tu mc = fold $ do
|
||||
return $ overPosSP (turretItemOffset itm tu mc) (itemSPic itm)
|
||||
|
||||
sensorSPic :: (PaletteColor, DecorationShape) -> SPic
|
||||
sensorSPic (pc, ds) = noPic $ decorationToShape ds w w 25 col
|
||||
sensorSPic (pc, ds) = noPic $ colorSH col $ decorationToShape ds w w 25
|
||||
where
|
||||
col = paletteToColor pc
|
||||
w = 10
|
||||
|
||||
Reference in New Issue
Block a user