修复结算问题

This commit is contained in:
aozhiwei 2020-03-31 13:33:17 +08:00
parent a2104aaf2f
commit a37143e9bb

View File

@ -931,7 +931,7 @@ void Room::UpdateGas()
break; break;
} }
if (gas_data.gas_mode != GasInactive && gas_data.gas_mode != GasJump) { if (gas_data.gas_mode != GasInactive && gas_data.gas_mode != GasJump) {
if (!game_over && alive_count_ <= 1) { if (!game_over && alive_count_ <= MAX_TEAM_NUM && GetAliveTeamNum() <= 1) {
game_over = true; game_over = true;
game_over_frameno = frame_no; game_over_frameno = frame_no;
OnGameOver(); OnGameOver();