[NO GBP] Fixes wheelchairs being silent (#77524)

## About The Pull Request
They didn't produce any rolling noise while moving because the element
was being added in `generate_actions` rather than `Initialize`. A month
old mistake.

## Why It's Good For The Game
Title.

## Changelog

🆑
fix: Fixed wheelchairs being silent.
/🆑
This commit is contained in:
Ghom
2023-08-12 22:15:53 +02:00
committed by GitHub
parent 9ed51dafbc
commit 194dd20109
+1 -1
View File
@@ -30,7 +30,6 @@
if(!bell_attached)
return
initialize_controller_action_type(/datum/action/vehicle/ridden/wheelchair/bell, VEHICLE_CONTROL_DRIVE)
AddElement(/datum/element/noisy_movement, volume = 75)
/obj/vehicle/ridden/wheelchair/Initialize(mapload)
. = ..()
@@ -38,6 +37,7 @@
wheels_overlay = image(icon, overlay_icon, ABOVE_MOB_LAYER)
ADD_TRAIT(src, TRAIT_NO_IMMOBILIZE, INNATE_TRAIT)
AddComponent(/datum/component/simple_rotation) //Since it's technically a chair I want it to have chair properties
AddElement(/datum/element/noisy_movement, volume = 75)
/obj/vehicle/ridden/wheelchair/atom_destruction(damage_flag)
new /obj/item/stack/rods(drop_location(), 1)