mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Merge pull request #17825 from tgstation/RemieRichards-is_type_in_fixes
is_type_in_list() fixes
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user