1
This commit is contained in:
parent
4c0800765a
commit
70f27a1934
@ -639,6 +639,7 @@ void Human::FillMFPlayerStats(cs::MFPlayerStats* stats_pb)
|
||||
if (room->GetBattleStartFrameNo() <= 0) {
|
||||
alive_time = 0;
|
||||
}
|
||||
alive_time = std::max(alive_time, 0);
|
||||
stats_pb->set_time_alive(alive_time);
|
||||
}
|
||||
|
||||
|
@ -4169,7 +4169,6 @@ void Room::OnEnterNewWave(int wave)
|
||||
if (IsDestoryRoom() && wave > 0 && wave < pve_mode_meta->area.size()) {
|
||||
gas_data_.SetGasMode(GasWaiting);
|
||||
gas_data_.gas_start_frameno = GetFrameNo();
|
||||
battle_start_frameno_ = GetFrameNo();
|
||||
gas_data_.old_area_meta = pve_mode_meta->area[wave];
|
||||
gas_data_.new_area_meta = pve_mode_meta->area[wave];
|
||||
gas_data_.gas_start_frameno = GetFrameNo();
|
||||
|
Loading…
x
Reference in New Issue
Block a user