Merge pull request #7961 from Citadel-Station-13/kevinz000-patch-5
tgs3 sdql2 command is slightly more useful but still pretty damn useless
This commit is contained in:
@@ -102,6 +102,15 @@ GLOBAL_LIST(round_end_notifiees)
|
||||
return "Query produced no output"
|
||||
var/list/text_res = results.Copy(1, 3)
|
||||
var/list/refs = results.len > 3 ? results.Copy(4) : null
|
||||
if(refs)
|
||||
var/list/L = list()
|
||||
for(var/ref in refs)
|
||||
var/atom/A = locate(ref)
|
||||
if(A)
|
||||
L += "[A]"
|
||||
else
|
||||
L += "[ref]"
|
||||
refs = L
|
||||
. = "[text_res.Join("\n")][refs ? "\nRefs: [refs.Join(" ")]" : ""]"
|
||||
|
||||
/datum/tgs_chat_command/reload_admins
|
||||
|
||||
Reference in New Issue
Block a user