Skip to content

Commit 9a2d0f8

Browse files
authored
Rename _NULL to _NO_ENTITY (#3382)
* Remame `_NULL` to `_NO_ENTITY` A more understandable name because some people might not understand the NULL concept * Woops
1 parent ca20bdc commit 9a2d0f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/entities/gmod_wire_expression2/core/entity.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ end
9191
--[[******************************************************************************]]
9292
-- Functions getting string
9393

94-
E2Lib.registerConstant("NULL", NULL)
94+
E2Lib.registerConstant("NO_ENTITY", NULL, "An invalid entity")
9595

96-
[deprecated = "Use the constant NULL instead"]
96+
[deprecated = "Use the constant NO_ENTITY instead"]
9797
e2function entity noentity()
9898
return NULL
9999
end

0 commit comments

Comments
 (0)