Skip to content

Commit e501e50

Browse files
committed
fix bunker breach deleting doors
1 parent 94f61b3 commit e501e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/Base.rte/Activities/BunkerBreach.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ function BunkerBreach:SetupDefenderActors()
151151
end
152152

153153
for actor in MovableMan.AddedActors do
154-
if not actor:IsInGroup("Brains") and not actor:IsInGroup("Bunker Systems - Automovers") then
154+
if not actor:IsInGroup("Brains") and not actor:IsInGroup("Bunker Systems - Automovers") and not IsADoor(actor) then
155155
if hasSpawnAreas then
156156
actor.ToDelete = true;
157157
elseif actor.Team ~= self.defenderTeam then

0 commit comments

Comments
 (0)