Skip to content

Commit 549d566

Browse files
committed
Harvester fog of war now directly uses team 1.
Harvester was applying fog of war to `self:GetTeamOfPlayer(Activity.PLAYER_1)` without bothering to check if Player 1 was even active; since the human team is always Team 1, and the team of an inactive player is Team 1 anyway, I just changed it to that.
1 parent fe4cb82 commit 549d566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/Base.rte/Activities/Harvester.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function Harvester:UpdateActivity()
209209
end
210210

211211
if self.addFogOfWar then
212-
SceneMan:MakeAllUnseen(Vector(20, 20), self:GetTeamOfPlayer(Activity.PLAYER_1));
212+
SceneMan:MakeAllUnseen(Vector(20, 20), Activity.TEAM_1);
213213
self.addFogOfWar = false;
214214
end
215215

0 commit comments

Comments
 (0)