Fix flashlights flashing

This commit is contained in:
Bjorn Neergaard
2016-02-05 12:06:44 -06:00
parent 6154334fbc
commit 289f0c19e1
2 changed files with 14 additions and 15 deletions
+2 -1
View File
@@ -170,8 +170,9 @@
playsound(loc, 'sound/weapons/thudswoosh.ogg', 50, 1, -1)
/mob/living/carbon/flash_eyes(intensity = 1, override_blindness_check = 0, affect_silicon = 0, visual = 0)
. = ..()
var/damage = intensity - check_eye_prot()
if(..()) // we've been flashed
if(.) // we've been flashed
if(visual)
return
if(weakeyes)