diff --git a/rts/Sim/Units/Unit.cpp b/rts/Sim/Units/Unit.cpp index 9f1ec62fbd..491eb576d4 100644 --- a/rts/Sim/Units/Unit.cpp +++ b/rts/Sim/Units/Unit.cpp @@ -484,9 +484,6 @@ void CUnit::ForcedKillUnit(CUnit* attacker, bool selfDestruct, bool reclaimed, i eventHandler.UnitDestroyed(this, attacker, weaponDefID); eoh->UnitDestroyed(*this, attacker, weaponDefID); - // Will be called in the destructor again, but this can not hurt - SetGroup(nullptr); - if (unitDef->windGenerator > 0.0f) envResHandler.DelGenerator(this);