[MIRROR] Allow pAIs to attack_ai the machine they're inside, (#9564)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2024-11-30 06:07:08 -07:00
committed by GitHub
parent 9f98bf2b53
commit 7c2aa4aac7
2 changed files with 15 additions and 0 deletions

View File

@@ -219,6 +219,11 @@
..()
SStgui.update_uis(src)
/obj/machinery/microwave/tgui_status(mob/user)
if(user == paicard?.pai)
return STATUS_INTERACTIVE
. = ..()
/obj/machinery/microwave/tgui_state(mob/user)
return GLOB.tgui_physical_state