diff --git a/mods/ra/maps/soviet-01/map.yaml b/mods/ra/maps/soviet-01/map.yaml index 9b45b05232..c5e18cabed 100644 --- a/mods/ra/maps/soviet-01/map.yaml +++ b/mods/ra/maps/soviet-01/map.yaml @@ -21,23 +21,23 @@ LockPreview: True Players: PlayerReference@France: Name: France + Bot: campaign Faction: allies Color: 5CC1A3 Allies: Germany Enemies: USSR - Bot: campaign PlayerReference@Germany: Name: Germany + Bot: campaign NonCombatant: True Faction: allies Color: 505050 Allies: France Enemies: USSR - Bot: campaign PlayerReference@USSR: Name: USSR - Playable: True AllowBots: False + Playable: True Required: True LockFaction: True Faction: soviet @@ -389,19 +389,19 @@ Actors: Actor114: brl3 Location: 49,55 Owner: Germany - Actor115: barl + PillboxBarrel2: barl Location: 48,55 Owner: Germany Actor116: barl Location: 47,56 Owner: Germany - Actor117: brl3 + PillboxBarrel1: brl3 Location: 46,56 Owner: Germany - Actor118: pbox + Pillbox1: pbox Location: 46,55 Owner: France - Actor119: pbox + Pillbox2: pbox Location: 48,54 Owner: France Actor120: barl diff --git a/mods/ra/maps/soviet-01/soviet01.lua b/mods/ra/maps/soviet-01/soviet01.lua index 12dc4eff6c..995636f78d 100644 --- a/mods/ra/maps/soviet-01/soviet01.lua +++ b/mods/ra/maps/soviet-01/soviet01.lua @@ -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()