From bec3e9e950aa0e3c1f079fa8209a83d923ed4c68 Mon Sep 17 00:00:00 2001 From: Jackraxxus <60418544+Jackraxxus@users.noreply.github.com> Date: Fri, 5 Aug 2022 13:33:04 +1000 Subject: [PATCH] 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. --- code/datums/components/payment.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/payment.dm b/code/datums/components/payment.dm index fc6146501f2..82b030214fa 100644 --- a/code/datums/components/payment.dm +++ b/code/datums/components/payment.dm @@ -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))