fix(Core/TempleOfAhnQiraj): Huhuran timers + EventMap::Repeat (#13182)
fix(Core/TempleOfAhnQiraj): Huhuran timers + EventMap::Repeat using std::chrono
This commit is contained in:
parent
e05f61d1b3
commit
00eea376f1
3 changed files with 35 additions and 18 deletions
|
|
@ -106,6 +106,11 @@ void EventMap::Repeat(Milliseconds time)
|
|||
RepeatEvent(time.count());
|
||||
}
|
||||
|
||||
void EventMap::Repeat(Milliseconds minTime, Milliseconds maxTime)
|
||||
{
|
||||
RepeatEvent(randtime(minTime, maxTime).count());
|
||||
}
|
||||
|
||||
uint32 EventMap::ExecuteEvent()
|
||||
{
|
||||
while (!Empty())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue