summaryrefslogtreecommitdiffhomepage
path: root/decoration.lua
diff options
context:
space:
mode:
Diffstat (limited to 'decoration.lua')
-rw-r--r--decoration.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/decoration.lua b/decoration.lua
index 9552b09..609983a 100644
--- a/decoration.lua
+++ b/decoration.lua
@@ -28,6 +28,5 @@ function Decoration:draw(offset_x, offset_y, scale)
local draw_x = (math.floor(x) + offset_x) * scale
local draw_y = (math.floor(y) + offset_y) * scale
-- draw
- love.graphics.setColor(255,255,255,255)
- love.graphics.draw(self.sprite, draw_x, draw_y, 0, scale, scale)
+ Animated.draw(self, draw_x, draw_y, 0, scale, scale)
end \ No newline at end of file