修复变身后上机甲宕机问题

This commit is contained in:
aozhiwei 2021-11-12 13:39:05 +08:00
parent 659dafeacc
commit fdb1efcfad

View File

@ -381,6 +381,7 @@ void Car::DecHP(float dec_hp, int killer_id, const std::string& killer_name, int
void Car::BeKill(int killer_id, const std::string& killer_name, int weapon_id)
{
dead = true;
later_removed_ = true;
if (hero_meta_->i->delay_remove() > 0) {
room->xtimer.AddDeadLineTimerAndAttach
(