fixed close spawn stuff
This commit is contained in:
parent
c9c3db70f3
commit
30f0b3cb60
|
@ -136,14 +136,14 @@ public class GameTeam
|
|||
//Spawn near players
|
||||
if (Host.SpawnNearEnemies)
|
||||
{
|
||||
Location loc = UtilAlg.getLocationAwayFromPlayers(_spawns, Host.GetPlayers(true));
|
||||
Location loc = UtilAlg.getLocationNearPlayers(_spawns, Host.GetPlayers(true), Host.GetPlayers(true));
|
||||
if (loc != null)
|
||||
return loc;
|
||||
}
|
||||
//Spawn away from players
|
||||
else
|
||||
{
|
||||
Location loc = UtilAlg.getLocationNearPlayers(_spawns, Host.GetPlayers(true), Host.GetPlayers(true));
|
||||
Location loc = UtilAlg.getLocationAwayFromPlayers(_spawns, Host.GetPlayers(true));
|
||||
if (loc != null)
|
||||
return loc;
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ public class TeamSuperSmash extends SuperSmash
|
|||
this.PlayersPerTeam = 2;
|
||||
this.FillTeamsInOrderToCount = 2;
|
||||
|
||||
this.SpawnNearAllies = true;
|
||||
this.SpawnNearAlliesz = true;
|
||||
this.DamageTeamSelf = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue