1.1 --- a/core/TimerSys.cpp Thu Sep 13 00:33:56 2007 +0000
1.2 +++ b/core/TimerSys.cpp Thu Sep 13 01:14:02 2007 +0000
1.3 @@ -120,7 +120,12 @@
1.4 return;
1.5 }
1.6
1.7 - g_Timers.MapTimeLimitExtended(atoi(old_value) * 60, pVar->GetInt() * 60);
1.8 + if (atoi(old_value) == pVar->GetInt())
1.9 + {
1.10 + return;
1.11 + }
1.12 +
1.13 + g_Timers.MapTimeLeftChanged();
1.14 }
1.15
1.16 private:
1.17 @@ -436,10 +441,12 @@
1.18 return m_pMapTimer;
1.19 }
1.20
1.21 -void TimerSystem::MapTimeLimitExtended(int old_limit, int new_limit)
1.22 +void TimerSystem::MapTimeLeftChanged()
1.23 {
1.24 - if (old_limit == new_limit)
1.25 - {
1.26 - return;
1.27 - }
1.28 +
1.29 }
1.30 +
1.31 +float TimerSystem::GetTickedTime()
1.32 +{
1.33 + return g_fUniversalTime;
1.34 +}