Merge pull request #2071 from Citadel-Station-13/upstream-merge-29363

[MIRROR] Fix missing keyword argument syntax in typecache_filter_list
This commit is contained in:
LetterJay
2017-07-31 17:14:38 -05:00
committed by GitHub
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -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()
+10
View File
@@ -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