Kill pillboxes with barrels in Soviet01

This commit is contained in:
Smittytron
2021-01-23 10:05:14 -06:00
committed by reaperrr
parent 9580d61fb0
commit 4db2fd980a
2 changed files with 17 additions and 7 deletions

View File

@@ -102,6 +102,16 @@ WorldLoaded = function()
Trigger.AfterDelay(DateTime.Seconds(2), InsertYaks)
Paratroopers()
Trigger.OnDamaged(HayHouse, PanicAttack)
Trigger.OnKilled(PillboxBarrel1, function()
if not Pillbox1.IsDead then
Pillbox1.Kill()
end
end)
Trigger.OnKilled(PillboxBarrel2, function()
if not Pillbox2.IsDead then
Pillbox2.Kill()
end
end)
end
Tick = function()