mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
sdql readout now displays location of turfs properly (#78951)
## About The Pull Request previously  now  ## Why It's Good For The Game bug or something bad ## Changelog 🆑 fix: sqdl2 query readout displays location of turfs properly /🆑
This commit is contained in:
@@ -730,7 +730,11 @@ GLOBAL_DATUM_INIT(sdql2_vv_statobj, /obj/effect/statclick/sdql2_vv_all, new(null
|
||||
var/atom/A = object
|
||||
var/turf/T = A.loc
|
||||
var/area/a
|
||||
if(istype(T))
|
||||
if(isturf(A))
|
||||
a = A.loc
|
||||
T = A //this should prevent the "inside" part
|
||||
text_list += " <font color='gray'>at</font> [ADMIN_COORDJMP(A)]"
|
||||
else if(istype(T))
|
||||
text_list += " <font color='gray'>at</font> [T] [ADMIN_COORDJMP(T)]"
|
||||
a = T.loc
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user