Merge pull request #41 from sachith500/bug1118

Bugfix for 1118
This commit is contained in:
auriamg 2014-02-12 18:33:50 -05:00
commit 0e722b30a3

View File

@ -170,7 +170,10 @@ void RaceGUI::renderGlobal(float dt)
if (!m_is_tutorial)
{
drawGlobalTimer();
//stop displaying timer as soon as race is over
if (world->getPhase()<WorldStatus::DELAY_FINISH_PHASE)
drawGlobalTimer();
if(world->getPhase() == WorldStatus::GO_PHASE ||
world->getPhase() == WorldStatus::MUSIC_PHASE)
{