mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-20 14:52:36 +00:00
* enjoy * Update shuttles.dm sowwy Co-authored-by: Maksxpl <18237380+maksxpl@users.noreply.github.com>
9 lines
291 B
Plaintext
9 lines
291 B
Plaintext
/datum/component/riding/human/Initialize()
|
|
. = ..()
|
|
RegisterSignal(parent, COMSIG_ATOM_DIR_CHANGE, .proc/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)
|