diff --git a/code/__HELPERS/_lists.dm b/code/__HELPERS/_lists.dm index b3b88a6276..4ca617f7e7 100644 --- a/code/__HELPERS/_lists.dm +++ b/code/__HELPERS/_lists.dm @@ -98,6 +98,7 @@ . += A //Like typesof() or subtypesof(), but returns a typecache instead of a list + /proc/typecacheof(path, ignore_root_path, only_root_path = FALSE) if(ispath(path)) var/list/types = list() diff --git a/code/__HELPERS/_lists.dm.rej b/code/__HELPERS/_lists.dm.rej new file mode 100644 index 0000000000..94df951ce7 --- /dev/null +++ b/code/__HELPERS/_lists.dm.rej @@ -0,0 +1,10 @@ +diff a/code/__HELPERS/_lists.dm b/code/__HELPERS/_lists.dm (rejected hunks) +@@ -90,7 +90,7 @@ + + //returns a new list with only atoms that are in typecache L + //if reversed, return a new list with only atoms that aren't in typecache L +-/proc/typecache_filter_list(list/atoms, list/typecache, reversed) ++/proc/typecache_filter_list(list/atoms, list/typecache, reversed=FALSE) + . = list() + for (var/thing in atoms) + var/atom/A = thing