mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-13 00:47:31 +01:00
d40d459d42
Refactored movement observable away, use only the signal. Some tweaks to the signal.
11 lines
292 B
Plaintext
11 lines
292 B
Plaintext
/atom/movable/proc/move_to_loc_or_null(var/atom/movable/am, var/old_loc, var/new_loc)
|
|
if(new_loc != loc)
|
|
forceMove(new_loc)
|
|
|
|
/atom/proc/recursive_dir_set(var/atom/a, var/old_dir, var/new_dir)
|
|
set_dir(new_dir)
|
|
|
|
// Sometimes you just want to end yourself
|
|
/datum/proc/qdel_self()
|
|
qdel(src)
|