mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 17:14:47 +01:00
[MIRROR] Fixes full unrestrained interaction while buckled to a xeno nest. (#5144)
* Fixes full unrestrained interaction while buckled to a xeno nest. (#58617) * Fixes full unrestrained interaction while buckled to a xeno nest. Co-authored-by: Seth Scherer <supernovaa41@protonmail.com>
This commit is contained in:
@@ -65,12 +65,14 @@
|
||||
"<span class='hear'>You hear squelching...</span>")
|
||||
|
||||
/obj/structure/bed/nest/post_buckle_mob(mob/living/M)
|
||||
ADD_TRAIT(M, TRAIT_RESTRAINED, type)
|
||||
M.pixel_y = M.base_pixel_y
|
||||
M.pixel_x = M.base_pixel_x + 2
|
||||
M.layer = BELOW_MOB_LAYER
|
||||
add_overlay(nest_overlay)
|
||||
|
||||
/obj/structure/bed/nest/post_unbuckle_mob(mob/living/M)
|
||||
REMOVE_TRAIT(M, TRAIT_RESTRAINED, type)
|
||||
M.pixel_x = M.base_pixel_x + M.body_position_pixel_x_offset
|
||||
M.pixel_y = M.base_pixel_y + M.body_position_pixel_y_offset
|
||||
M.layer = initial(M.layer)
|
||||
|
||||
Reference in New Issue
Block a user