private void DestroyPlayer(IPlayer player) { var civToDestroy = player.ControlledCiv; PlayerFactory.DestroyPlayer(player); civToDestroy.Destroy(); }
public void ClearRuntime() { GameCore.ActivePlayer = null; foreach (var player in PlayerFactory.AllPlayers.ToArray()) { PlayerFactory.DestroyPlayer(player); } }