Merge pull request #34507 from AutomaticFrenzy/patch/sdql-jmp

Add JMP buttons to SDQL select results
This commit is contained in:
Jordan Brown
2018-01-16 22:41:24 -05:00
committed by CitadelStationBot
parent d2d1a063a7
commit 4f2716f312
+3 -3
View File
@@ -95,7 +95,7 @@
for(var/datum/d in objs)
world.SDQL_var(d, query_tree["call"][1], source = d)
CHECK_TICK
if("delete")
for(var/datum/d in objs)
SDQL_qdel_datum(d)
@@ -133,9 +133,9 @@
var/turf/T = a.loc
var/turf/actual = get_turf(a)
if(istype(T))
text += ": [t] at turf [T] [COORD(T)]<br>"
text += ": [t] <font color='gray'>at turf</font> [T] [ADMIN_COORDJMP(T)]<br>"
else if(a.loc && istype(actual))
text += ": [t] in [a.loc] at turf [actual] [COORD(actual)]<br>"
text += ": [t] <font color='gray'>in</font> [a.loc] <font color='gray'>at turf</font> [actual] [ADMIN_COORDJMP(actual)]<br>"
else
text += ": [t]<br>"
else