Skip to content

Commit

Permalink
Merge pull request #2021 from shadow7483147/patch-1
Browse files Browse the repository at this point in the history
fixed isValid typo in sunDirection
  • Loading branch information
Sparky authored Feb 1, 2020
2 parents c93eb51 + 742ce5c commit 2ea96c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/entities/gmod_wire_expression2/core/entity.lua
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ end

--- Specific to env_sun because Source is dum. Use this to trace towards the sun or something.
e2function vector sunDirection()
if not isValid(sun) then return { 0, 0, 0 } end
if not IsValid(sun) then return { 0, 0, 0 } end
return sun:GetKeyValues().sun_dir
end

Expand Down

0 comments on commit 2ea96c7

Please sign in to comment.