fix warnings in allies scripts

This commit is contained in:
Chris Forbes
2012-10-13 14:31:45 +13:00
parent 1792f16929
commit 6f3b21616f
2 changed files with 1 additions and 3 deletions

View File

@@ -195,7 +195,7 @@ namespace OpenRA.Mods.RA.Missions
foreach (var unit in wave)
{
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) });
}
}