From 4d79c387a8ce1cd78f4a88f0efb4d41563200ffa Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Wed, 19 Jul 2017 04:09:00 -0500 Subject: [PATCH 1/2] Fix missing keyword argument syntax in typecache_filter_list --- code/__HELPERS/_lists.dm.rej | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 code/__HELPERS/_lists.dm.rej 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 From aedd22090b2d8c0dc2a0c1d7a1398247676ba6a2 Mon Sep 17 00:00:00 2001 From: LetterJay Date: Mon, 31 Jul 2017 15:40:52 -0500 Subject: [PATCH 2/2] Update _lists.dm --- code/__HELPERS/_lists.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/__HELPERS/_lists.dm b/code/__HELPERS/_lists.dm index 393c5a465d..ad00383c70 100644 --- a/code/__HELPERS/_lists.dm +++ b/code/__HELPERS/_lists.dm @@ -99,6 +99,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()