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:
@@ -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()
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user