mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
Fixes wheelchair making sounds only on conveyor belts (#76121)
## About The Pull Request That's all it is, really. They went quiet because the logic check was done backwards. ## Why It's Good For The Game Wheelchairs making sounds when they're meant to is good. ## Changelog 🆑 GoldenAlpharex fix: Wheelchairs now make noises when they're meant to again, and don't make noises on the tram nor on conveyor belts /🆑
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
|
||||
/obj/vehicle/ridden/wheelchair/Moved(atom/old_loc, movement_dir, forced, list/old_locs, momentum_change = TRUE)
|
||||
. = ..()
|
||||
if(!forced && CHECK_MOVE_LOOP_FLAGS(src, MOVEMENT_LOOP_OUTSIDE_CONTROL) && has_gravity())
|
||||
if(!forced && !CHECK_MOVE_LOOP_FLAGS(src, MOVEMENT_LOOP_OUTSIDE_CONTROL) && has_gravity())
|
||||
playsound(src, 'sound/effects/roll.ogg', 75, TRUE)
|
||||
|
||||
/obj/vehicle/ridden/wheelchair/post_buckle_mob(mob/living/user)
|
||||
|
||||
Reference in New Issue
Block a user