1
This commit is contained in:
parent
bf8fbc6751
commit
480d309a59
@ -3722,5 +3722,9 @@ bool Room::IsNewerMap()
|
||||
|
||||
int Room::GetMobaLeftTime()
|
||||
{
|
||||
return mt::Param::s().moba_revive_time - (GetFrameNo() * FRAME_RATE_MS / 1000);
|
||||
if (moba_over_timer.expired()) {
|
||||
return 0;
|
||||
}
|
||||
long long remain_time = xtimer.GetRemainTime(moba_over_timer);
|
||||
return (remain_time * FRAME_RATE_MS / 1000);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user