Merge pull request #17825 from tgstation/RemieRichards-is_type_in_fixes

is_type_in_list() fixes
This commit is contained in:
Cheridan
2016-05-22 13:32:57 -05:00
+1 -1
View File
@@ -55,7 +55,7 @@
/proc/is_type_in_list(atom/A, list/L)
if (!L.len)
return 0
if (!isnum(L[L[1]]))
if (!L[L[1]])
generate_type_list_cache(L)
return L[A.type]