mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Move recursive listening to component (#7894)
Co-authored-by: Raeschen <rycoop29@gmail.com>
This commit is contained in:
@@ -112,6 +112,7 @@
|
||||
user.client.images |= holomap_datum.station_map
|
||||
|
||||
watching_mob = user
|
||||
watching_mob.AddComponent(/datum/component/recursive_move)
|
||||
RegisterSignal(watching_mob, COMSIG_OBSERVER_MOVED, /obj/machinery/station_map/proc/checkPosition)
|
||||
//GLOB.dir_set_event.register(watching_mob, src, /obj/machinery/station_map/proc/checkPosition)
|
||||
RegisterSignal(watching_mob, COMSIG_OBSERVER_DESTROYED, /obj/machinery/station_map/proc/stopWatching)
|
||||
|
||||
Reference in New Issue
Block a user