Skip to content

Commit

Permalink
fixed isValid typo
Browse files Browse the repository at this point in the history
No idea why or how this managed to slip for this long.
  • Loading branch information
shadow7483147 authored Feb 1, 2020
1 parent c93eb51 commit 742ce5c
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 742ce5c

Please sign in to comment.