mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
Clockwork power drain will update APCs (#18707)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user