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

Commit 938c094

Browse files
committed
Remove some junk code that somehow stayed after a merge
Fixed up an objective arrow
1 parent cbffbb3 commit 938c094

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Data/Missions.rte/Activities/SignalHunt.lua

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ function SignalHunt:StartActivity(isNewGame)
2929
self:SetTeamAISkill(self.ambusherTeam, self.Difficulty);
3030

3131
self.zombieTeam = Activity.TEAM_3;
32-
self:ForceSetTeamAsActive(self.zombieTeam); -- 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.
3332
self:SetTeamAISkill(self.zombieTeam, self.Difficulty);
34-
3533

3634
self:SetLZArea(self.humanTeam, self.humanLZ);
3735

@@ -406,8 +404,6 @@ function SignalHunt:DoAmbush()
406404
end
407405

408406
function SignalHunt:DoSecret(playersWhoCompletedCode)
409-
self:ForceSetTeamAsActive(self.zombieTeam);
410-
411407
for _, player in pairs(playersWhoCompletedCode) do
412408
local playerBrain = self:GetPlayerBrain(player)
413409
MovableMan:ChangeActorTeam(playerBrain, self.zombieTeam);
@@ -546,7 +542,7 @@ function SignalHunt:UpdateScreenTextAndObjectiveArrows(humanActorCount)
546542
end
547543
end
548544
if self.evacuationRocket and (not self.actorHoldingControlChip or self.actorHoldingControlChip.UniqueID ~= self.evacuationRocket.UniqueID) then
549-
self:AddObjectivePoint("Get the Cloning Control Chip to the rocket!", self.evacuationRocket.AboveHUDPos, self.humanTeam, GameActivity.ARROWDOWN);
545+
self:AddObjectivePoint(self.secretIndex == nil and "Get To The Rocket!!!" or "Get the Cloning Control Chip to the rocket!", self.evacuationRocket.AboveHUDPos, self.humanTeam, GameActivity.ARROWDOWN);
550546
end
551547
end
552548
elseif self.WinnerTeam == self.humanTeam and not self.screenTextTimer:IsPastSimMS(self.screenTextTimeLimit) then

0 commit comments

Comments
 (0)