Vaurca Eye Flashing Fix (#11642)

This commit is contained in:
Geeves
2021-04-13 01:23:51 +02:00
committed by GitHub
parent 2632ba15f1
commit ae2d9ff415
2 changed files with 10 additions and 2 deletions

View File

@@ -8,10 +8,12 @@
eye_emote = "'s eyes gently shift."
/obj/item/organ/internal/eyes/night/vaurca/flash_act()
. = ..()
if(!.)
if(!owner)
return
to_chat(owner, SPAN_WARNING("Your eyes burn with the intense light of the flash!"))
disable_night_vision()
owner.last_special = world.time + 10 SECONDS
owner.Weaken(10)
take_damage(rand(10, 11))
if(damage > 12)