private void titanGetsPoint() { if (titanPt >= titanPtMax) { titanPt = titanPtMax; humanPt = 0f; SyncPoints(); if (state == CheckPointState.Human && supply != null) { PhotonNetwork.Destroy(supply); } state = CheckPointState.Titan; base.photonView.RPC("changeState", PhotonTargets.AllBuffered, (int)CheckPointState.Titan); fengGame.PVPtitanScore += 2; fengGame.CheckPvPPoints(); if (HasTeamWon(CheckPointState.Titan)) { fengGame.LoseGame(); } if (hasAnnie) { if (!annie) { annie = true; Vector3 position = base.transform.position; Vector3 up = Vector3.up; Vector3 position2 = base.transform.position; PhotonNetwork.Instantiate("FEMALE_TITAN", position - up * (position2.y - GetHeight(base.transform.position)), base.transform.rotation, 0); } else { NewTitan(); } } else { NewTitan(); } } else { titanPt += Time.deltaTime; } }