This commit is contained in:
aozhiwei 2019-04-26 09:43:34 +08:00
parent ca20436cc9
commit 359e3b6503

View File

@ -83,6 +83,10 @@ void Room::UnInit()
void Room::Update(int delta_time)
{
if (game_over && frame_no - game_over_frameno > SERVER_FRAME_RATE * 20) {
return;
}
long long begin_tick = a8::XGetTickCount();
elapsed_time_ += delta_time;
while (elapsed_time_ >= 50) {