Add World parameter to Target.FromCell.
This commit is contained in:
@@ -217,7 +217,7 @@ namespace OpenRA.Mods.RA
|
||||
if (negativeDamage)
|
||||
return false;
|
||||
|
||||
if (!ab.HasAnyValidWeapons(Target.FromCell(location)))
|
||||
if (!ab.HasAnyValidWeapons(Target.FromCell(self.World, location)))
|
||||
return false;
|
||||
|
||||
if (modifiers.HasModifier(TargetModifiers.ForceAttack))
|
||||
|
||||
Reference in New Issue
Block a user