This commit is contained in:
quotefox
2019-11-01 08:24:56 +00:00
parent b796fb6bcc
commit d775e4eef3
13 changed files with 101 additions and 10 deletions
+5
View File
@@ -111,6 +111,11 @@
if(A)
load_program(A)
if("safety")
if(!issilicon(usr) && !IsAdminGhost(usr))
var/msg = "[key_name(usr)] attempted to emag the holodeck using a href they shouldn't have!"
message_admins(msg)
log_admin(msg)
return
obj_flags ^= EMAGGED
if((obj_flags & EMAGGED) && program && emag_programs[program.name])
emergency_shutdown()