diff --git a/code/modules/admin/verbs/SDQL2/SDQL_2_wrappers.dm b/code/modules/admin/verbs/SDQL2/SDQL_2_wrappers.dm index 1305e5a660d..eb9f39a8da4 100644 --- a/code/modules/admin/verbs/SDQL2/SDQL_2_wrappers.dm +++ b/code/modules/admin/verbs/SDQL2/SDQL_2_wrappers.dm @@ -64,6 +64,8 @@ return istype(object, type) /proc/_ispath(path, type) + if(isnull(type)) + return ispath(path) return ispath(path, type) /proc/_length(E) @@ -297,3 +299,6 @@ if(!filter_index || filter_index < 1 || filter_index > length(target.filters)) return animate(target.filters[filter_index], appearance = set_vars, time, loop, easing, flags) + +/proc/_is_type_in_typecache(thing_to_check, typecache) + return is_type_in_typecache(thing_to_check, typecache)