public override void HandlePlayerRespawn(PlayerControl Player) { var NewSpawn = FlagsController.GetSpawn(Player); if (NewSpawn.HasValue) { Player.NetTransform.SnapTo(NewSpawn.Value); } FlagsController.DropAll(Player); }
public override Vector2 HandleSpawnLocation(Vector2 Source, PlayerControl Player) { return(FlagsController.GetSpawn(Player) ?? Source); }