summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-06 02:59:08 +0200
committerAki <nthirtyone@gmail.com>2017-09-06 02:59:08 +0200
commit0d838536c5fa0f832de796a094a150bd4af73adb (patch)
treea911c56bdf483877dd14d6aa7072e73f4cc63179
parent234adbc1468d75f829c8d8bfd0345fe0c16a6360 (diff)
downloadroflnauts-0d838536c5fa0f832de796a094a150bd4af73adb.zip
roflnauts-0d838536c5fa0f832de796a094a150bd4af73adb.tar.gz
roflnauts-0d838536c5fa0f832de796a094a150bd4af73adb.tar.bz2
Tag color fixed
-rw-r--r--not/Hero.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/not/Hero.lua b/not/Hero.lua
index 71cfb5b..93f1614 100644
--- a/not/Hero.lua
+++ b/not/Hero.lua
@@ -174,6 +174,7 @@ end
function Hero:drawTag (offset_x, offset_y, scale)
local x,y = self:getPosition()
love.graphics.setFont(Font)
+ love.graphics.setColor(255, 255, 255)
love.graphics.printf(string.format("Player %d", math.abs(self.group)), (math.floor(x)+offset_x)*scale, (math.floor(y)+offset_y-26)*scale,100,'center',0,scale,scale,50,0)
end