mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
Merge pull request #7589 from Vivalas/master
Fixes weird offset with beds when buckled.
This commit is contained in:
@@ -881,8 +881,10 @@ var/list/ventcrawl_machinery = list(/obj/machinery/atmospherics/unary/vent_pump,
|
||||
|
||||
/mob/living/carbon/get_standard_pixel_y_offset(lying = 0)
|
||||
if(lying)
|
||||
if(buckled) return initial(pixel_y)
|
||||
return -6
|
||||
if(buckled)
|
||||
return buckled.buckle_offset //tg just has this whole block removed, always returning -6. Paradise is special.
|
||||
else
|
||||
return -6
|
||||
else
|
||||
return initial(pixel_y)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user