Add ValidStances checks to BlocksProjectiles and Gate.
This commit is contained in:
@@ -217,7 +217,7 @@ namespace OpenRA.Mods.Common.Projectiles
|
||||
bool ShouldExplode(World world)
|
||||
{
|
||||
// Check for walls or other blocking obstacles
|
||||
if (info.Blockable && BlocksProjectiles.AnyBlockingActorsBetween(world, lastPos, pos, info.Width, out var blockedPos))
|
||||
if (info.Blockable && BlocksProjectiles.AnyBlockingActorsBetween(world, args.SourceActor.Owner, lastPos, pos, info.Width, out var blockedPos))
|
||||
{
|
||||
pos = blockedPos;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user