mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 06:22:26 +01:00
Ports the TG globals controller and converts globals. (#18057)
* SDQL2 update * fix that verb * cl * fix that * toworld * this is pointless * update info * siiiiick.. * vv edit update * fix that * fix editing vars * fix VV * Port the /TG/ globals controller. * part 1 * part 2 * oops * part 3 * Hollow Purple * sadas * bsbsdb * muda na agaki ta * ids 1-15 * 16-31 * 41-75 * bring me back to how things used to be before i lost it all * the strength of mayhem * final touches * cl * protect some vars * update sdql2 to use glob * stuff? * forgot that is not defined there * whoops * observ * but it never gets better * a --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -144,7 +144,7 @@
|
||||
affected.implants += tool
|
||||
if(istype(tool, /obj/item/device/gps))
|
||||
var/obj/item/device/gps/gps = tool
|
||||
moved_event.register(target, gps, TYPE_PROC_REF(/obj/item/device/gps, update_position))
|
||||
GLOB.moved_event.register(target, gps, TYPE_PROC_REF(/obj/item/device/gps, update_position))
|
||||
gps.implanted_into = target
|
||||
tool.forceMove(affected)
|
||||
affected.cavity = CAVITY_CLOSED
|
||||
@@ -212,7 +212,7 @@
|
||||
|
||||
else if(istype(I, /obj/item/device/gps))
|
||||
var/obj/item/device/gps/gps = I
|
||||
moved_event.unregister(target, gps)
|
||||
GLOB.moved_event.unregister(target, gps)
|
||||
gps.implanted_into = null
|
||||
|
||||
playsound(target.loc, 'sound/effects/squelch1.ogg', 50, 1)
|
||||
|
||||
Reference in New Issue
Block a user