Merge pull request #9736 from obrakmann/fix9693_lua-attack-broken

Fix broken scripted attacks in some missions
This commit is contained in:
abcdefg30
2015-10-24 21:18:45 +02:00
4 changed files with 6 additions and 6 deletions

View File

@@ -91,9 +91,9 @@ WorldLoaded = function()
-- Don't "shoot" at the barrels if there is noone to shoot
if not FleeingUnits[1].IsDead then
FleeingUnits[1].Attack(Barrel)
FleeingUnits[1].Attack(Barrel, true, true)
elseif not FleeingUnits[2].IsDead then
FleeingUnits[2].Attack(Barrel)
FleeingUnits[2].Attack(Barrel, true, true)
end
end
end)

View File

@@ -60,7 +60,7 @@ Players:
Faction: allies
ColorRamp: 161,134,236
Allies: England, Soviet
Enemies: USSR
Enemies: USSR, Creeps
PlayerReference@USSR:
Name: USSR
AllowBots: False

View File

@@ -50,7 +50,7 @@ Players:
Faction: allies
ColorRamp: 161,134,236
Allies: Soviet
Enemies: USSR
Enemies: USSR, Creeps
PlayerReference@USSR:
Name: USSR
AllowBots: False