From 998d145277b8d1f053c4fab04e7fa932a9f82821 Mon Sep 17 00:00:00 2001 From: FunnyLegJiggle <107515217+FunnyLegJiggle@users.noreply.github.com> Date: Mon, 26 Jun 2023 01:33:48 +0100 Subject: [PATCH] Altclick functionality for rotation (#389) Co-authored-by: Funny Leg Jiggle --- code/modules/vehicles/trolley.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/vehicles/trolley.dm b/code/modules/vehicles/trolley.dm index 8db3c8f4b87e..51051d4eaf49 100644 --- a/code/modules/vehicles/trolley.dm +++ b/code/modules/vehicles/trolley.dm @@ -14,6 +14,7 @@ ADD_TRAIT(src, TRAIT_KEEP_DIRECTION_WHILE_PULLING, INNATE_TRAIT) ADD_TRAIT(src, TRAIT_REJECT_INSERTION, INNATE_TRAIT) AddElement(/datum/element/ridable, /datum/component/riding/vehicle/trolley) + AddComponent(/datum/component/simple_rotation) var/handlebars = new /image{icon_state = "trolley_handlebars"; layer = MOB_BELOW_PIGGYBACK_LAYER} add_overlay(handlebars)