Try to fix sigas kacka - add another wt waypoint - danke an balbo
This commit is contained in:
@@ -17,7 +17,6 @@ namespace ReallifeGamemode.Server.WeaponDeal
|
|||||||
new Vector3(-2174.734, 4269.301, 46.95574), //Army Base
|
new Vector3(-2174.734, 4269.301, 46.95574), //Army Base
|
||||||
new Vector3(2530.14, 2617.15, 35.76),
|
new Vector3(2530.14, 2617.15, 35.76),
|
||||||
new Vector3(-3179.78, 820.08, 1.59),
|
new Vector3(-3179.78, 820.08, 1.59),
|
||||||
new Vector3(-1889.91, 2045.6, 138.68)
|
|
||||||
}.AsReadOnly();
|
}.AsReadOnly();
|
||||||
|
|
||||||
public static readonly IReadOnlyCollection<Vector3> StaatsFrakWT_Route = new List<Vector3>
|
public static readonly IReadOnlyCollection<Vector3> StaatsFrakWT_Route = new List<Vector3>
|
||||||
@@ -34,13 +33,13 @@ namespace ReallifeGamemode.Server.WeaponDeal
|
|||||||
if (factionID == 1 | factionID == 3)
|
if (factionID == 1 | factionID == 3)
|
||||||
{
|
{
|
||||||
Random rnd = new Random();
|
Random rnd = new Random();
|
||||||
factionWeaponDeal[factionID] = rnd.Next(0, StaatsFrakWT_Route.Count - 1);
|
factionWeaponDeal[factionID] = rnd.Next(0, StaatsFrakWT_Route.Count);
|
||||||
return StaatsFrakWT_Route.ElementAt(factionWeaponDeal[factionID]);
|
return StaatsFrakWT_Route.ElementAt(factionWeaponDeal[factionID]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Random rnd = new Random();
|
Random rnd = new Random();
|
||||||
factionWeaponDeal[factionID] = rnd.Next(0, WT_Route.Count - 1);
|
factionWeaponDeal[factionID] = rnd.Next(0, WT_Route.Count);
|
||||||
return WT_Route.ElementAt(factionWeaponDeal[factionID]);
|
return WT_Route.ElementAt(factionWeaponDeal[factionID]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user