scenes/battlesystem: use right name for a loveutils

This commit is contained in:
Kazhnuz 2019-03-23 11:45:47 +01:00
parent 173efc2bab
commit 2b074943ec

View file

@ -33,7 +33,7 @@ function BaseEntity:setSprite(name, ox, oy, active)
end end
function BaseEntity:drawSprite(tx, ty) function BaseEntity:drawSprite(tx, ty)
utils.draw.resetColor() utils.graphics.resetColor()
local x, y = self.controller.battlearena:gridToPixel(self.x, self.y, true) local x, y = self.controller.battlearena:gridToPixel(self.x, self.y, true)