mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
@@ -10,8 +10,11 @@
|
||||
health = 200
|
||||
|
||||
/obj/structure/closet/emp_act(severity)
|
||||
. = ..()
|
||||
|
||||
if(!secure)
|
||||
return
|
||||
|
||||
for(var/obj/O in src)
|
||||
O.emp_act(severity)
|
||||
if(!broken)
|
||||
@@ -24,7 +27,6 @@
|
||||
else
|
||||
req_access = list()
|
||||
req_access += pick(get_all_station_access())
|
||||
..()
|
||||
|
||||
/obj/structure/closet/proc/togglelock(mob/user as mob, silent)
|
||||
if(use_check_and_message(user))
|
||||
|
||||
@@ -258,7 +258,8 @@
|
||||
ripped = TRUE
|
||||
if(rip_linked)
|
||||
var/obj/item/stack/material/cloth/C = new(src.loc, flag_size ? 2 : 1)
|
||||
user.put_in_hands(C)
|
||||
if(user)
|
||||
user.put_in_hands(C)
|
||||
if(rip_linked && linked_flag)
|
||||
linked_flag.rip(user, FALSE) // Prevents an infinite ripping loop.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user