1
This commit is contained in:
commit
47f8569f1b
@ -339,6 +339,9 @@ int Incubator::GetPveLeftTime()
|
||||
return 0;
|
||||
}
|
||||
xtimer_list* timer = wave_timers_[room->pve_data.wave];
|
||||
if (!timer) {
|
||||
return 0;
|
||||
}
|
||||
int remain_time = room->xtimer.GetRemainTime(timer);
|
||||
return remain_time * FRAME_RATE_MS;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user