Merge pull request #696 from toemik/duration

Minor formatting adjustment to Round Duration. Credit: SkyMarshal
This commit is contained in:
Albert Iordache
2012-03-17 04:15:35 -07:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -167,7 +167,7 @@
if((ticker.current_state == GAME_STATE_PREGAME) && !going)
stat("Time To Start:", "DELAYED")
if((ticker.current_state == GAME_STATE_PLAYING) && going)
stat("Round Duration:", "[round(world.time / 36000)]:[world.time / 600 % 60]:[world.time / 100 % 6][world.time / 100 % 10]")
stat("Round Duration:", "[round(world.time / 36000)]:[(((world.time / 600 % 60)/10) > 1 ? world.time / 600 % 60 : add_zero(world.time / 600 % 60, 2))]:[world.time / 100 % 6][world.time / 100 % 10]")
statpanel("Lobby")
if(client.statpanel=="Lobby" && ticker)