summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-08-14 17:31:42 +0200
committerAki <nthirtyone@gmail.com>2016-08-14 17:31:42 +0200
commit16da6eddf1f7c5a945d7a30d760979f322dde5d9 (patch)
tree046a63546f6770672dd9d5c85cf59d6d009a2dfb
parentb5cb7f800759088f825e84c1b22eafb14b85b0b8 (diff)
downloadroflnauts-16da6eddf1f7c5a945d7a30d760979f322dde5d9.zip
roflnauts-16da6eddf1f7c5a945d7a30d760979f322dde5d9.tar.gz
roflnauts-16da6eddf1f7c5a945d7a30d760979f322dde5d9.tar.bz2
Small menu changes; wrong branch w/e
-rw-r--r--menu.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.lua b/menu.lua
index 2ef02c2..cea9c81 100644
--- a/menu.lua
+++ b/menu.lua
@@ -126,9 +126,9 @@ function Menu:draw()
love.graphics.printf("ROFLNAUTS2",(w/2)*scale,(32+dy)*scale,336,"center",(angle*5)*math.pi/180,scale,scale,168,12)
-- footer
love.graphics.setFont(Font)
- love.graphics.printf("Use W,S,A,D,G,H or Arrows,Enter,Rshift or Gamepad\n\nA game by Awesomenauts Community\nSeltzy, ParaDoX, MilkingChicken, Burningdillo, Bronkey, Aki, 04font\nBased on a game by Jan Willem Nijman, Paul Veer and Bits_Beats XOXO", (w/2)*scale, (h-42)*scale, 336, "center", 0, scale, scale, 168, 4)
+ love.graphics.printf("Use W,S,A,D,G,H or Arrows,Enter,Rshift or Gamepad\n\nA game by the Awesomenauts community\nSeltzy, ParaDoX, MilkingChicken, Burningdillo, Bronkey, Aki, 04font\nBased on a game by Jan Willem Nijman, Paul Veer and Bits_Beats XOXO", (w/2)*scale, (h-42)*scale, 336, "center", 0, scale, scale, 168, 4)
-- countdown
- local countdown, _ = math.modf(self.countdown)
+ local countdown = math.floor(self.countdown)
if self.countdown < Menu.countdown then -- Menu.countdown is initial
love.graphics.setFont(Bold)
love.graphics.print(countdown,(w/2-6.5)*self.scale,(h/2+30)*self.scale,0,self.scale,self.scale)