From 5019342bf118f0f10e9b4cb0aa9679f8a99239fb Mon Sep 17 00:00:00 2001 From: Joan Lung Date: Sun, 19 Jun 2016 14:35:11 -0400 Subject: [PATCH] Clockwork power drain will update APCs (#18707) --- code/game/gamemodes/clock_cult/clock_machines.dm | 2 ++ code/game/gamemodes/clock_cult/clock_scripture.dm | 1 + 2 files changed, 3 insertions(+) diff --git a/code/game/gamemodes/clock_cult/clock_machines.dm b/code/game/gamemodes/clock_cult/clock_machines.dm index 19e440deeda..db3c46f7e13 100644 --- a/code/game/gamemodes/clock_cult/clock_machines.dm +++ b/code/game/gamemodes/clock_cult/clock_machines.dm @@ -103,6 +103,8 @@ if(target_apc.cell.use(50)) apcpower -= 50 amount -= 50 + target_apc.update() + target_apc.update_icon() else apcpower = 0 if(amount) diff --git a/code/game/gamemodes/clock_cult/clock_scripture.dm b/code/game/gamemodes/clock_cult/clock_scripture.dm index d8470f52b79..174fad9f955 100644 --- a/code/game/gamemodes/clock_cult/clock_scripture.dm +++ b/code/game/gamemodes/clock_cult/clock_scripture.dm @@ -524,6 +524,7 @@ Judgement: 10 servants, 100 CV, and any existing AIs are converted or destroyed if(!A.cell.charge && !A.shorted) A.shorted = 1 A.visible_message("The [A.name]'s screen blurs with static.") + A.update() A.update_icon() for(var/obj/machinery/power/smes/S in view(7, invoker)) if(S.charge)