changes
This commit is contained in:
7
luprex/core/lua/basics.lua
Normal file
7
luprex/core/lua/basics.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
NilIsZero={
|
||||
__index=function(t,k)
|
||||
return 0
|
||||
end,
|
||||
__newindex=function(t,k,v)
|
||||
if v~=nil and v~=0 then rawset(t,k,v) end
|
||||
end }
|
||||
Reference in New Issue
Block a user