From 8f596f5fc1bcc9af0ff35c82e7c1347746e1c98f Mon Sep 17 00:00:00 2001 From: Zuhayr Date: Fri, 5 Jul 2013 22:32:37 -0700 Subject: [PATCH] Air alarm runtime fix. --- code/game/machinery/alarm.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/machinery/alarm.dm b/code/game/machinery/alarm.dm index 15f5c667ade..3c39813f5f1 100644 --- a/code/game/machinery/alarm.dm +++ b/code/game/machinery/alarm.dm @@ -636,6 +636,9 @@ interact(mob/user) user.set_machine(src) + if(buildstage!=2) + return + if ( (get_dist(src, user) > 1 )) if (!istype(user, /mob/living/silicon)) user.machine = null @@ -1142,6 +1145,7 @@ table tr:first-child th:first-child { border: none;} circuit.loc = user.loc buildstage = 0 update_icon() + return if(0) if(istype(W, /obj/item/weapon/airalarm_electronics)) user << "You insert the circuit!"