Merge pull request #12112 from Fox-McCloud/gps-location

GPS Location Status
This commit is contained in:
variableundefined
2019-08-29 19:50:54 -04:00
committed by GitHub
@@ -168,7 +168,11 @@
show_stat_emergency_shuttle_eta()
if(client.statpanel == "Status")
if(locate(/obj/item/assembly/health) in src)
var/total_user_contents = GetAllContents() // cache it
if(locate(/obj/item/gps) in total_user_contents)
var/turf/T = get_turf(src)
stat(null, "GPS: [COORD(T)]")
if(locate(/obj/item/assembly/health) in total_user_contents)
stat(null, "Health: [health]")
if(internal)
if(!internal.air_contents)