Tweaks species night vision (#11416)

This commit is contained in:
Alberyk
2021-03-15 21:51:49 -03:00
committed by GitHub
parent 8cc103a7f3
commit c1793a4a33
5 changed files with 28 additions and 2 deletions

View File

@@ -125,6 +125,10 @@
A.client.eye = A.eyeobj
return TRUE
if(ishuman(user)) //this code is here to stop species night vision from being used on the cameras, since it does not make sense since cameras are just images. this is probably not the best way to do this, but it works
var/mob/living/carbon/human/H = user
H.disable_organ_night_vision()
set_current(C)
user.machine = ui_host()
user.reset_view(current_camera)