diff --git a/ReallifeGamemode.Server/WeaponDeal/WeaponDealPoints.cs b/ReallifeGamemode.Server/WeaponDeal/WeaponDealPoints.cs index 78a83f3e..7e6faa10 100644 --- a/ReallifeGamemode.Server/WeaponDeal/WeaponDealPoints.cs +++ b/ReallifeGamemode.Server/WeaponDeal/WeaponDealPoints.cs @@ -17,7 +17,6 @@ namespace ReallifeGamemode.Server.WeaponDeal new Vector3(-2174.734, 4269.301, 46.95574), //Army Base new Vector3(2530.14, 2617.15, 35.76), new Vector3(-3179.78, 820.08, 1.59), - new Vector3(-1889.91, 2045.6, 138.68) }.AsReadOnly(); public static readonly IReadOnlyCollection StaatsFrakWT_Route = new List @@ -34,16 +33,16 @@ namespace ReallifeGamemode.Server.WeaponDeal if (factionID == 1 | factionID == 3) { 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]); } else { 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]); } - + /* if (factionWeaponDeal[factionID] == -1) { Random rnd = new Random();