Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit f2f9986

Browse files
committed
Remove use of ForceSetTeamAsActive as it's now automatic
1 parent 3e85b90 commit f2f9986

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Data/Missions.rte/Activities/SignalHunt.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ function SignalHunt:StartActivity(isNewGame)
2424
self.zombieTeam = Activity.NOTEAM;
2525
self.humanTeam = Activity.TEAM_1;
2626
self.ambusherTeam = Activity.TEAM_2;
27-
self:ForceSetTeamAsActive(self.ambusherTeam); -- NOTE: This is necessary for the ambusher actors to work properly. WIthout it, their team is considered inactive, and their AI will be unable to shoot because of the game's spatial partitioning grid.
2827
self:SetTeamAISkill(self.zombieTeam, self.Difficulty);
2928
self:SetTeamAISkill(self.ambusherTeam, self.Difficulty);
3029

0 commit comments

Comments
 (0)