From 471907d21df41f53c5090232697e078a0d02ceb1 Mon Sep 17 00:00:00 2001 From: Ren Erthilo Date: Thu, 26 Apr 2012 23:20:00 +0100 Subject: [PATCH] Compile fix. --- code/game/objects/devices/flash.dm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/code/game/objects/devices/flash.dm b/code/game/objects/devices/flash.dm index 3485a6c940f..cbe3dfd1768 100644 --- a/code/game/objects/devices/flash.dm +++ b/code/game/objects/devices/flash.dm @@ -97,10 +97,7 @@ flashfail = 1 else if(issilicon(M)) - if(!M:flashproof()) - M.Weaken(rand(5,10)) - else - flashfail++ + M.Weaken(rand(5,10)) if(isrobot(user)) spawn(0)