From 64e29bdf618ef96c89cdf1805b0a939f85677d7f Mon Sep 17 00:00:00 2001 From: bgobandit Date: Sun, 8 Jan 2017 18:58:52 -0500 Subject: [PATCH] Cash siphoning checks for power. --- code/game/machinery/bank_machine.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/machinery/bank_machine.dm b/code/game/machinery/bank_machine.dm index 10812f91b3b..16b94c1236f 100644 --- a/code/game/machinery/bank_machine.dm +++ b/code/game/machinery/bank_machine.dm @@ -25,6 +25,9 @@ /obj/machinery/computer/bank_machine/process() ..() if(siphoning) + if (stat & (BROKEN|NOPOWER)) + say("Insufficient power. Halting siphon.") + siphoning = FALSE if(SSshuttle.points < 200) say("Station funds depleted. Halting siphon.") siphoning = FALSE