summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--not/Sprite.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Sprite.lua b/not/Sprite.lua
index a4346f6..33b8ac8 100644
--- a/not/Sprite.lua
+++ b/not/Sprite.lua
@@ -101,7 +101,7 @@ function Sprite:draw (debug)
local draw_y = approx(y)
local draw_x = math.floor(x)
- if i then
+ if i and not self.hidden then
love.graphics.setColor(255,255,255,255)
if q then
love.graphics.draw(i, q, draw_x, draw_y, angle, scaleX, scaleY, self:getOffset())