mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-08-20 19:57:56 +01:00
9 lines
295 B
Plaintext
9 lines
295 B
Plaintext
/datum/component/riding/human/Initialize()
|
|
. = ..()
|
|
RegisterSignal(parent, COMSIG_ATOM_DIR_CHANGE, PROC_REF(update_dir))
|
|
|
|
/datum/component/riding/human/proc/update_dir(mob/source, dir, newdir)
|
|
var/mob/living/carbon/human/H = source
|
|
for(var/mob/living/L in H.buckled_mobs)
|
|
L.setDir(newdir)
|