Changed data for certain types of spawning
This commit is contained in:
parent
39a79eb818
commit
cbf8b575c6
@ -111,13 +111,13 @@ public class CaptureTheFlag extends TeamGame
|
|||||||
{
|
{
|
||||||
CreatureAllowOverride = true;
|
CreatureAllowOverride = true;
|
||||||
|
|
||||||
for (int i = 0; i < GetKits().length && i < WorldData.GetDataLocs("PURPLE").size() && i < WorldData.GetDataLocs("ORANGE").size(); i++)
|
for (int i = 0; i < GetKits().length && i < WorldData.GetDataLocs("LIGHT_BLUE").size() && i < WorldData.GetDataLocs("PINK").size(); i++)
|
||||||
{
|
{
|
||||||
Entity ent = GetKits()[i].SpawnEntity(WorldData.GetDataLocs("ORANGE").get(i));
|
Entity ent = GetKits()[i].SpawnEntity(WorldData.GetDataLocs("PINK").get(i));
|
||||||
Manager.GetLobby().AddKitLocation(ent, GetKits()[i], WorldData.GetDataLocs("ORANGE").get(i));
|
Manager.GetLobby().AddKitLocation(ent, GetKits()[i], WorldData.GetDataLocs("PINK").get(i));
|
||||||
|
|
||||||
ent = GetKits()[i].SpawnEntity(WorldData.GetDataLocs("PURPLE").get(i));
|
ent = GetKits()[i].SpawnEntity(WorldData.GetDataLocs("LIGHT_BLUE").get(i));
|
||||||
Manager.GetLobby().AddKitLocation(ent, GetKits()[i], WorldData.GetDataLocs("PURPLE").get(i));
|
Manager.GetLobby().AddKitLocation(ent, GetKits()[i], WorldData.GetDataLocs("LIGHT_BLUE").get(i));
|
||||||
}
|
}
|
||||||
|
|
||||||
CreatureAllowOverride = false;
|
CreatureAllowOverride = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user