mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-04 05:13:55 -04:00
Streamline entity lifetime
This commit is contained in:
parent
bc47eaa651
commit
038111d558
7 changed files with 117 additions and 163 deletions
|
@ -73,7 +73,7 @@ end
|
|||
-- @param obj The object to search for
|
||||
-- true if the list has the object, false otherwise
|
||||
function List:has(obj)
|
||||
return self[obj] and true
|
||||
return self[obj] and true or false
|
||||
end
|
||||
|
||||
return setmetatable(List, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue