Skip to content

Commit

Permalink
HotFix: Fix errors when exterior light is on with portals active
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Jeanes committed Apr 22, 2021
1 parent 15910ef commit 1a51545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/entities/gmod_tardis/modules/sh_light.lua
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ else
render.SetMaterial(mat)
local fallback=false
for k,v in pairs(wp.portals) do -- not ideal but does the job
if wp.shouldrender(v) and v:GetShouldDrawNextFrame() then
if wp.shouldrender(v) then
fallback=true
break
end
Expand Down

0 comments on commit 1a51545

Please sign in to comment.