This commit is contained in:
aozhiwei 2023-04-20 19:51:42 +08:00
parent 59e5da1719
commit 8a46f4210c

View File

@ -1842,13 +1842,7 @@ void Room::AddObjectLater(RoomEntity* entity)
void Room::OnGameOver()
{
for (auto& pair : human_hash_) {
#if 1
pair.second->SendGameOver();
#else
if (IsGameOver() && game_over_frameno_ == GetFrameNo()) {
pair.second->SendGameOver();
}
#endif
}
int param1 = 1;
xtimer.SetIntervalEx