code formatiert
This commit is contained in:
@@ -32,7 +32,7 @@ namespace ReallifeGamemode.Server.WeaponDeal
|
||||
if (!factionWeaponDeal.ContainsKey(factionID))
|
||||
return new Vector3();
|
||||
|
||||
if(factionID == 1 | factionID == 3)
|
||||
if (factionID == 1 | factionID == 3)
|
||||
{
|
||||
Random rnd = new Random();
|
||||
factionWeaponDeal[factionID] = rnd.Next(0, StaatsFrakWT_Route.Count - 1);
|
||||
@@ -45,14 +45,14 @@ namespace ReallifeGamemode.Server.WeaponDeal
|
||||
return WT_Route.ElementAt(factionWeaponDeal[factionID]);
|
||||
}
|
||||
|
||||
/* if (factionWeaponDeal[factionID] == -1)
|
||||
{
|
||||
Random rnd = new Random();
|
||||
factionWeaponDeal[factionID] = rnd.Next(0, WT_Route.Count - 1);
|
||||
}
|
||||
return WT_Route.ElementAt(factionWeaponDeal[factionID]);
|
||||
|
||||
*/
|
||||
/* if (factionWeaponDeal[factionID] == -1)
|
||||
{
|
||||
Random rnd = new Random();
|
||||
factionWeaponDeal[factionID] = rnd.Next(0, WT_Route.Count - 1);
|
||||
}
|
||||
return WT_Route.ElementAt(factionWeaponDeal[factionID]);
|
||||
|
||||
*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user