From 742ce5c977f211bdf1e6c0177c131bf3dfd7cd8e Mon Sep 17 00:00:00 2001 From: shadow7483147 Date: Fri, 31 Jan 2020 23:41:12 -0600 Subject: [PATCH] fixed isValid typo No idea why or how this managed to slip for this long. --- lua/entities/gmod_wire_expression2/core/entity.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/entities/gmod_wire_expression2/core/entity.lua b/lua/entities/gmod_wire_expression2/core/entity.lua index 35ab046e93..9f3ba9676f 100644 --- a/lua/entities/gmod_wire_expression2/core/entity.lua +++ b/lua/entities/gmod_wire_expression2/core/entity.lua @@ -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