Access transmission device now also works on drones. (#10504)

Forgot to include this in #10490
This commit is contained in:
mikomyazaki
2020-11-11 14:54:17 +02:00
committed by GitHub
parent 24f31e6517
commit 93d2f57d5b
2 changed files with 42 additions and 1 deletions
@@ -223,7 +223,7 @@
else if(W.iscrowbar())
to_chat(user, SPAN_WARNING("\The [src] is hermetically sealed. You can't open the case."))
return
else if(W.GetID())
else if(W.GetID() || istype(W, /obj/item/card/robot))
if(stat == DEAD)
if(!config.allow_drone_spawn || emagged || health < -maxHealth) //It's dead, Dave.
to_chat(user, SPAN_WARNING("The interface is fried, and a distressing burned smell wafts from the robot's interior. You're not rebooting this one."))