6 Years Ago
Unregister entity from entity registry as the last thing in DoEntityDestroy (otherwise GameObjectEx.ToBaseEntity can yield incorrect results on parented entities when destroying)