Example #1
0
        public override void HandlePlayerRespawn(PlayerControl Player)
        {
            var NewSpawn = FlagsController.GetSpawn(Player);

            if (NewSpawn.HasValue)
            {
                Player.NetTransform.SnapTo(NewSpawn.Value);
            }

            FlagsController.DropAll(Player);
        }
Example #2
0
 public override Vector2 HandleSpawnLocation(Vector2 Source, PlayerControl Player)
 {
     return(FlagsController.GetSpawn(Player) ?? Source);
 }