Telepad's Set GPS Memory actually functions now (#22257)

This has been a clickable button on the telepad control console for
literally over a decade with its own variable within GPSes, and I think
the original coder just forgot to have it display. It's going down as a
bugfix because of this, var/locked_location is literally never used
otherwise.

Telescience was reworked to use portals years ago specifically so using
GPSes isn't risk-free, but portals make having a valid destination
_mandatory_, so this won't really remove risk as it just removes tedium.
For the other 4 telescientists, rejoice.
<img width="583" height="490" alt="image"
src="https://github.com/user-attachments/assets/db7e2be4-9b08-419a-b50c-7cef1922ff8c"
/>
This commit is contained in:
runecap
2026-04-19 05:25:27 +00:00
committed by GitHub
parent 8d92c62a1f
commit fe15943c1f
2 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -520,7 +520,7 @@
if(href_list["setMemory"])
if(last_target && inserted_gps)
inserted_gps.locked_location = last_target
temp_msg = "Location saved."
temp_msg = "Location saved.<BR>Target Location: ([inserted_gps.locked_location.x], [inserted_gps.locked_location.y])"
else
temp_msg = "ERROR!<BR>No data was stored."