summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-08-06 18:35:26 +0200
committerAki <nthirtyone@gmail.com>2016-08-06 18:35:26 +0200
commitef0eb088ab25d819c590c870ae20a9f546c059de (patch)
treee7a5788036a5995dd1dc91c4437096c858fea21b
parent7e56308dc5452ac6a6c7b8190f79ed778d1ca74f (diff)
downloadroflnauts-ef0eb088ab25d819c590c870ae20a9f546c059de.zip
roflnauts-ef0eb088ab25d819c590c870ae20a9f546c059de.tar.gz
roflnauts-ef0eb088ab25d819c590c870ae20a9f546c059de.tar.bz2
x > %
-rw-r--r--player.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/player.lua b/player.lua
index 9aa4347..366fe5d 100644
--- a/player.lua
+++ b/player.lua
@@ -318,7 +318,7 @@ function Player:drawHUD (x,y,scale,elevation)
love.graphics.setColor(255,255,255,255)
love.graphics.draw(self.portrait_sprite, self.portrait_sheet[self.name].normal, x*scale, y*scale, 0, scale, scale)
local dy = 30 * elevation
- love.graphics.print(self.combo.."0x",(x+2)*scale,(y-3+dy)*scale,0,scale,scale)
+ love.graphics.print(self.combo.."0%",(x+2)*scale,(y-3+dy)*scale,0,scale,scale)
love.graphics.print(math.max(0, self.lives),(x+24)*scale,(y-3+dy)*scale,0,scale,scale)
end