mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
defile rework (#29926)
This commit is contained in:
@@ -137,6 +137,12 @@
|
||||
return
|
||||
|
||||
/obj/structure/morgue/attack_hand(mob/user as mob)
|
||||
toggle_tray()
|
||||
add_fingerprint()
|
||||
update_state()
|
||||
return
|
||||
|
||||
/obj/structure/morgue/proc/toggle_tray()
|
||||
if(connected)
|
||||
for(var/atom/movable/A in connected.loc)
|
||||
if(!A.anchored)
|
||||
@@ -149,10 +155,6 @@
|
||||
get_revivable(FALSE)
|
||||
connect()
|
||||
|
||||
add_fingerprint(user)
|
||||
update_state()
|
||||
return
|
||||
|
||||
/obj/structure/morgue/attack_ai(mob/user)
|
||||
if(isrobot(user) && Adjacent(user)) //Robots can open/close it, but not the AI
|
||||
attack_hand(user)
|
||||
|
||||
Reference in New Issue
Block a user