mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
Fixed flashing species with light sensitive eyes causing stun while not using night vision (#11582)
This commit is contained in:
@@ -61,10 +61,11 @@
|
||||
if(!owner)
|
||||
return
|
||||
|
||||
to_chat(owner, SPAN_WARNING("Your eyes burn with the intense light of the flash!"))
|
||||
owner.Weaken(5)
|
||||
disable_night_vision()
|
||||
owner.last_special = world.time + 100
|
||||
if(night_vision)
|
||||
to_chat(owner, SPAN_WARNING("Your eyes burn with the intense light of the flash!"))
|
||||
owner.Weaken(5)
|
||||
disable_night_vision()
|
||||
owner.last_special = world.time + 100
|
||||
|
||||
/obj/item/organ/internal/eyes/night/proc/can_change_invisible()
|
||||
if(owner.client && ((owner.client.view != world.view) || (owner.client.pixel_x != 0) || (owner.client.pixel_y != 0))) //using binoculars
|
||||
|
||||
Reference in New Issue
Block a user