summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-08-14 01:57:07 +0200
committerAki <nthirtyone@gmail.com>2016-08-14 01:57:07 +0200
commitf9f927c3516580781eb7bf20870eefa6dc4b2e3f (patch)
tree70b65a32cc5258ef915db111b0e27daed406b991
parentcb89e78928bdc67ffd457d92d7b8b2b49a9a9b3c (diff)
downloadroflnauts-f9f927c3516580781eb7bf20870eefa6dc4b2e3f.zip
roflnauts-f9f927c3516580781eb7bf20870eefa6dc4b2e3f.tar.gz
roflnauts-f9f927c3516580781eb7bf20870eefa6dc4b2e3f.tar.bz2
Obsolete line deleted
-rw-r--r--decoration.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/decoration.lua b/decoration.lua
index 346ff65..9552b09 100644
--- a/decoration.lua
+++ b/decoration.lua
@@ -29,6 +29,5 @@ function Decoration:draw(offset_x, offset_y, scale)
local draw_y = (math.floor(y) + offset_y) * scale
-- draw
love.graphics.setColor(255,255,255,255)
- local x, y = self:getPosition()
love.graphics.draw(self.sprite, draw_x, draw_y, 0, scale, scale)
end \ No newline at end of file