Skip to content

Commit c732e59

Browse files
committed
Fixed fog resolution in refinery assault
1 parent 089f62b commit c732e59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Data/Browncoats.rte/Activities/RefineryAssaultFunctions.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,8 @@ function RefineryAssault:SetupFirstStage()
985985

986986
-- Fog of war-causing callback if it's enabled, but none if it's not
987987
if self:GetFogOfWarEnabled() then
988-
self.HUDHandler:QueueCameraPanEvent(self.humanTeam, "S1IntroPan4", cameraPos, 0.01, 5000, true, true, true, function() SceneMan:MakeAllUnseen(Vector(1, 1), self.humanTeam); end);
988+
local fogResolution = 4;
989+
self.HUDHandler:QueueCameraPanEvent(self.humanTeam, "S1IntroPan4", cameraPos, 0.01, 5000, true, true, true, function() SceneMan:MakeAllUnseen(Vector(fogResolution, fogResolution), self.humanTeam); end);
989990
else
990991
self.HUDHandler:QueueCameraPanEvent(self.humanTeam, "S1IntroPan4", cameraPos, 0.01, 5000, true, true, true);
991992
end

0 commit comments

Comments
 (0)