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