mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 14:07:51 +01:00
Fix painful vehicles for legless riders (janicart and bike) (#31195)
* Change vehicle behavior for legless riders - Make janicart unbucklable without legs - Make bike unmovable without legs, but not painful, and pullable by other parties * Thanks, linters! * Apply suggestions from review.
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
|
||||
// Buckled to a bed/chair. Stance damage is forced to 0 since they're sitting on something solid
|
||||
// Not standing, so no need to care about stance
|
||||
if(istype(buckled, /obj/structure/chair) || !isturf(loc))
|
||||
if(istype(buckled, /obj/structure/chair) || istype(buckled, /obj/vehicle/bike) || !isturf(loc))
|
||||
return
|
||||
|
||||
for(var/limb_tag in list("l_leg","r_leg","l_foot","r_foot"))
|
||||
|
||||
Reference in New Issue
Block a user