Lets Admin AI Interact Print Items Again (#68958)

I added a check for ghost AIs to bypass the payment component. So j*nnies (cringe) can print items from lathes again. Useful in case I forgor the typepath of something and need to print it to remember, or to more forcefully show someone that you can print something at a lathe.
This commit is contained in:
Jackraxxus
2022-08-04 23:33:04 -04:00
committed by GitHub
parent 347c85f9a5
commit bec3e9e950
+1 -1
View File
@@ -43,7 +43,7 @@
if(!ismob(target))
return COMPONENT_OBJ_CANCEL_CHARGE
var/mob/living/user = target
if(issilicon(user) || isdrone(user)) //They have evolved beyond the need for mere credits
if(issilicon(user) || isdrone(user) || isAdminGhostAI(user)) //They have evolved beyond the need for mere credits
return
var/obj/item/card/id/card
if(istype(user))