Streamline entity lifetime

This commit is contained in:
Tjakka5 2019-12-19 08:47:38 +01:00
parent bc47eaa651
commit 038111d558
7 changed files with 117 additions and 163 deletions

View file

@ -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, {