Removed unnecessary Destroy(this) in OnDestroy()

This commit is contained in:
Nympfonic 2024-04-07 22:40:10 +01:00
parent a70b14a67e
commit d7cd2397f3

View File

@ -236,7 +236,6 @@ namespace Terkoiz.Freecam
{ {
// Destroy FreeCamScript before FreeCamController if exists // Destroy FreeCamScript before FreeCamController if exists
Destroy(_freeCamScript); Destroy(_freeCamScript);
Destroy(this);
} }
} }
} }