Load subcells and default subcell index from mod.yaml
This commit is contained in:
@@ -61,7 +61,7 @@ namespace OpenRA.Mods.RA
|
||||
throw new InvalidOperationException("No cells available to spawn starting unit {0}".F(s));
|
||||
|
||||
var cell = validCells.Random(w.SharedRandom);
|
||||
var subCell = mi.SharesCell ? w.ActorMap.FreeSubCell(cell).Value : 0;
|
||||
var subCell = mi.SharesCell ? w.ActorMap.FreeSubCell(cell) : 0;
|
||||
|
||||
w.CreateActor(s.ToLowerInvariant(), new TypeDictionary
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user