mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
Fixes flashbang-on-nonhuman runtime
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
ear_safety++
|
||||
|
||||
//Flash
|
||||
if(!eye_safety)
|
||||
if(!eye_safety && ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
var/obj/item/organ/eyes/E = H.internal_organs_by_name["eyes"]
|
||||
flick("e_flash", M.flash)
|
||||
|
||||
Reference in New Issue
Block a user