protected void Awake()
{
if (PhotonHandler.SP != null && PhotonHandler.SP != this && PhotonHandler.SP.gameObject != null)
{
Object.DestroyImmediate(PhotonHandler.SP.gameObject);
}
PhotonHandler.SP = this;
Object.DontDestroyOnLoad(base.gameObject);
this.updateInterval = 1000 / PhotonNetwork.sendRate;
this.updateIntervalOnSerialize = 1000 / PhotonNetwork.sendRateOnSerialize;
PhotonHandler.StartFallbackSendAckThread();
}