diff --git a/code/game/objects/items/weapons/weaponry.dm b/code/game/objects/items/weapons/weaponry.dm index e856dd280ed..82e6ff76990 100644 --- a/code/game/objects/items/weapons/weaponry.dm +++ b/code/game/objects/items/weapons/weaponry.dm @@ -99,7 +99,6 @@ anchored = 0 can_buckle = 1 - buckle_movable = 1 buckle_lying = 0 buckle_dir = SOUTH diff --git a/code/game/objects/structures/stool_bed_chair_nest/chairs_vr.dm b/code/game/objects/structures/stool_bed_chair_nest/chairs_vr.dm index 79b970e1cf0..fa28f71bad0 100644 --- a/code/game/objects/structures/stool_bed_chair_nest/chairs_vr.dm +++ b/code/game/objects/structures/stool_bed_chair_nest/chairs_vr.dm @@ -120,6 +120,7 @@ desc = "Like a normal chair, but more stationary." icon_state = "bay_chair_preview" base_icon = "bay_chair" + buckle_movable = 1 /obj/structure/bed/chair/bay/chair/padded/red/New(var/newloc, var/new_material, var/new_padding_material) ..(newloc, new_material, "carpet") @@ -192,7 +193,6 @@ desc = "It's a chair. Only for the highest ranked asses." icon_state = "capchair_preview" base_icon = "capchair" - buckle_movable = 1 /obj/structure/bed/chair/bay/comfy/captain/update_icon() ..() @@ -209,6 +209,7 @@ desc = "A comfortable, secure seat. It has a sturdy-looking buckling system for smoother flights." base_icon = "shuttle_chair" icon_state = "shuttle_chair_preview" + buckle_movable = 0 var/buckling_sound = 'sound/effects/metal_close.ogg' var/padding = "blue" diff --git a/code/modules/mob/living/living.dm b/code/modules/mob/living/living.dm index 89c7c3eebe1..8fc975073e7 100644 --- a/code/modules/mob/living/living.dm +++ b/code/modules/mob/living/living.dm @@ -780,7 +780,7 @@ default behaviour is: // Almost all of this handles pulling movables behind us /mob/living/Move(atom/newloc, direct, movetime) if(buckled && buckled.loc != newloc) //not updating position - if(!buckled.anchored) + if(!buckled.anchored && buckled.buckle_movable) return buckled.Move(newloc, direct) else return 0 diff --git a/code/modules/vehicles/vehicle.dm b/code/modules/vehicles/vehicle.dm index bb1f1ed8390..ed7bdc9a2a5 100644 --- a/code/modules/vehicles/vehicle.dm +++ b/code/modules/vehicles/vehicle.dm @@ -66,8 +66,7 @@ /obj/vehicle/unbuckle_mob(mob/living/buckled_mob, force = FALSE) . = ..(buckled_mob, force) - for(var/mob/M in buckled_mobs) - buckled_mob.update_water() + buckled_mob?.update_water() if(riding_datum) riding_datum.restore_position(buckled_mob) riding_datum.handle_vehicle_offsets() // So the person in back goes to the front.