From fc32a62d4fe39f91d04225e29240cf0bd923b999 Mon Sep 17 00:00:00 2001 From: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com> Date: Thu, 26 Oct 2023 05:42:28 -0400 Subject: [PATCH] Fixed the AI Fixer's Power Problem (#23010) * Fixed the Fixer's Power Problem * Fixed logic - now turns off all overlays * Removes excessive parenthesis Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> --------- Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> --- code/game/machinery/computer/aifixer.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/machinery/computer/aifixer.dm b/code/game/machinery/computer/aifixer.dm index 92a73e8fed1..eae21415780 100644 --- a/code/game/machinery/computer/aifixer.dm +++ b/code/game/machinery/computer/aifixer.dm @@ -95,6 +95,8 @@ /obj/machinery/computer/aifixer/update_overlays() . = ..() + if(stat & (BROKEN|NOPOWER)) + return if(active) . += "ai-fixer-on" if(occupant)