This commit is contained in:
aozhiwei 2024-01-03 14:09:27 +08:00
parent 03a989b30b
commit 30c519ed19

View File

@ -139,7 +139,7 @@ void Room::Init()
[this] (int event, const a8::Args* args)
{
if (a8::TIMER_EXEC_EVENT == event) {
if (!IsGameOver()) {
if (!IsGameOver() && !GetVictoryTeam()) {
game_over_ = true;
game_over_frameno_ = GetFrameNo();
OnGameOver();