Clockwork power drain will update APCs (#18707)

This commit is contained in:
Joan Lung
2016-06-19 13:35:11 -05:00
committed by KorPhaeron
parent 28fe7a29aa
commit 5019342bf1
2 changed files with 3 additions and 0 deletions
@@ -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)
@@ -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("<span class='warning'>The [A.name]'s screen blurs with static.</span>")
A.update()
A.update_icon()
for(var/obj/machinery/power/smes/S in view(7, invoker))
if(S.charge)