public void Victory() { if (particles != null) { particles.Stop(); } victories++; isCaptured = true; if (spawner != null) { spawner.isActive = false; } GameTracking.fightsWonCount += 1; if (mainPoint) { manager.setCapturePointTaken(); } if (checkpoint != null) { CheckpointManager.currentCheckpoint = checkpoint; FindObjectOfType <CheckpointManager>().Respawn(); } }