We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e118a36 commit c9e7867Copy full SHA for c9e7867
Data/Base.rte/Activities/SkirmishDefense.lua
@@ -110,10 +110,10 @@ function SkirmishDefense:StartNewGame(aiTeams)
110
soleHumanTeam = soleHumanTeam == -1 and team or false;
111
end
112
113
- -- If there's only one Human team, set all existing doors to that team
+ -- If there's only one Human team, set all existing doors and actors to that team
114
if soleHumanTeam ~= false and soleHumanTeam >= 0 then
115
for actor in MovableMan.AddedActors do
116
- if actor.Team ~= soleHumanTeam and actor.ClassName == "ADoor" then
+ if actor.Team ~= soleHumanTeam then
117
MovableMan:ChangeActorTeam(actor, soleHumanTeam);
118
119
0 commit comments