1
This commit is contained in:
parent
38943b5ab8
commit
ebe3e4f328
@ -1186,7 +1186,11 @@ void Room::UpdateGas()
|
||||
if (gas_data_.gas_mode != GasInactive && gas_data_.gas_mode != GasJump) {
|
||||
if (gas_data_.gas_mode != GasInactive) {
|
||||
if (IsPveRoom()) {
|
||||
|
||||
if (!IsGameOver() && pve_data.refreshed_mon > 0 && pve_data.killed_num >= pve_data.refreshed_mon) {
|
||||
game_over_ = true;
|
||||
game_over_frameno_ = GetFrameNo();
|
||||
OnGameOver();
|
||||
}
|
||||
} else {
|
||||
if (!IsGameOver() && alive_count_ <= MAX_TEAM_NUM && GetAliveTeamNum() <= 1) {
|
||||
game_over_ = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user