diff options
author | Aki <nthirtyone@gmail.com> | 2017-09-06 02:59:08 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-09-06 02:59:08 +0200 |
commit | 0d838536c5fa0f832de796a094a150bd4af73adb (patch) | |
tree | a911c56bdf483877dd14d6aa7072e73f4cc63179 /not/Hero.lua | |
parent | 234adbc1468d75f829c8d8bfd0345fe0c16a6360 (diff) | |
download | roflnauts-0d838536c5fa0f832de796a094a150bd4af73adb.zip roflnauts-0d838536c5fa0f832de796a094a150bd4af73adb.tar.gz roflnauts-0d838536c5fa0f832de796a094a150bd4af73adb.tar.bz2 |
Tag color fixed
Diffstat (limited to 'not/Hero.lua')
-rw-r--r-- | not/Hero.lua | 1 |
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 |