public override void OnStopClient() { if (!hasAuthority) { return; } AuthorityOnBuildingDespawned?.Invoke(this); }
public override void OnStopClient() { //Check if you have authority or this event will be raised for everyone if (!hasAuthority) { return; } AuthorityOnBuildingDespawned?.Invoke(this); }