diff --git a/code/modules/admin/verbs/SDQL2/SDQL_2.dm b/code/modules/admin/verbs/SDQL2/SDQL_2.dm index 6553c739c9f..13fea30a7f8 100644 --- a/code/modules/admin/verbs/SDQL2/SDQL_2.dm +++ b/code/modules/admin/verbs/SDQL2/SDQL_2.dm @@ -252,6 +252,11 @@ if(istype(d, type)) out += d + else if(location == world) + for(var/datum/d) + if(istype(d, type)) + out += d + else for(var/datum/d in location) if(istype(d, type))