mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
Converted timer event into tick event that is called every frame
This commit is contained in:
@@ -192,7 +192,7 @@ void CGuiHandler::updateTime()
|
||||
for (auto & elem : hlp)
|
||||
{
|
||||
if(!vstd::contains(timeinterested,elem)) continue;
|
||||
(elem)->onTimer(ms);
|
||||
(elem)->tick(ms);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user