mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
Fixes self surgery with beds (#16004)
* fix * mochi's suggestion. added check for self surgery starting * line
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
/mob/living/update_canmove(delay_action_updates = 0)
|
||||
var/fall_over = !can_stand()
|
||||
var/buckle_lying = !(buckled && !buckled.buckle_lying)
|
||||
if(fall_over || resting || stunned)
|
||||
if(fall_over || resting || stunned || (buckled && buckle_lying != 0))
|
||||
drop_r_hand()
|
||||
drop_l_hand()
|
||||
else
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
/obj/item/weldingtool = 30
|
||||
)
|
||||
|
||||
if(M == user)
|
||||
return // no self surgery
|
||||
|
||||
if(istype(M, /mob/living/carbon/human))
|
||||
H = M
|
||||
affecting = H.get_organ(check_zone(selected_zone))
|
||||
|
||||
Reference in New Issue
Block a user