public void EndGameMode() { if (Pm) { Pm.Disable(); } IsFinished = true; ExtendedEndGame(); foreach (var player in Players) { player.CreatePlayerCallback -= PlayerCreated; player.DestroyPlayer(); } }