fix warnings in allies scripts
This commit is contained in:
@@ -195,7 +195,7 @@ namespace OpenRA.Mods.RA.Missions
|
|||||||
foreach (var unit in wave)
|
foreach (var unit in wave)
|
||||||
{
|
{
|
||||||
var spawnActor = world.SharedRandom.Next(2) == 0 ? attackEntryPoint1 : attackEntryPoint2;
|
var spawnActor = world.SharedRandom.Next(2) == 0 ? attackEntryPoint1 : attackEntryPoint2;
|
||||||
var actor = world.CreateActor(unit, new TypeDictionary { new OwnerInit(soviets), new LocationInit(spawnActor.Location) });
|
world.CreateActor(unit, new TypeDictionary { new OwnerInit(soviets), new LocationInit(spawnActor.Location) });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -100,8 +100,6 @@ namespace OpenRA.Mods.RA.Missions
|
|||||||
CountdownTimer reinforcementsTimer;
|
CountdownTimer reinforcementsTimer;
|
||||||
CountdownTimerWidget reinforcementsTimerWidget;
|
CountdownTimerWidget reinforcementsTimerWidget;
|
||||||
|
|
||||||
List<Actor> sovietReinforcementsUnits = new List<Actor>();
|
|
||||||
|
|
||||||
const string InfantryQueueName = "Infantry";
|
const string InfantryQueueName = "Infantry";
|
||||||
const string VehicleQueueName = "Vehicle";
|
const string VehicleQueueName = "Vehicle";
|
||||||
static readonly string[] SovietInfantry = { "e1", "e2", "e3" };
|
static readonly string[] SovietInfantry = { "e1", "e2", "e3" };
|
||||||
|
|||||||
Reference in New Issue
Block a user