Compare commits

..

No commits in common. "9f95bbadf33e125357617bc6c15f8d8b7f7fa77d" and "85bcdb333bc58395ae64517949c28f5d9f515f6c" have entirely different histories.

1 changed files with 1 additions and 3 deletions

View File

@ -1029,8 +1029,6 @@ public class UnmannedAerialVehicleManage : MonoBehaviour
}
private void OnDestroy()
{
if (airRoute)
Destroy(airRoute.gameObject);
for (int i = 0; i < unmannedAerialVehicleManages.Count; i++)
{
if (unmannedAerialVehicleManages[i] == null)
@ -1040,7 +1038,7 @@ public class UnmannedAerialVehicleManage : MonoBehaviour
}
StopCoroutine(ShowRadarTips(0, 0));
OnActivationChanged -= OnActivationChangedHandler;
Destroy(airRoute.gameObject);
}