Add MPSpawnUnits>BaseActorOffset
This commit is contained in:
committed by
reaperrr
parent
d46e47d16d
commit
5a0c1459b2
@@ -87,7 +87,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
{
|
||||
w.CreateActor(unitGroup.BaseActor.ToLowerInvariant(), new TypeDictionary
|
||||
{
|
||||
new LocationInit(sp),
|
||||
new LocationInit(sp + unitGroup.BaseActorOffset),
|
||||
new OwnerInit(p),
|
||||
new SkipMakeAnimsInit(),
|
||||
new FacingInit(unitGroup.BaseActorFacing < 0 ? w.SharedRandom.Next(256) : unitGroup.BaseActorFacing),
|
||||
|
||||
Reference in New Issue
Block a user