Sight Stuff (#11546)

This commit is contained in:
Geeves
2021-03-29 18:13:45 +02:00
committed by GitHub
parent 65a0c1ad68
commit 7f13954725
10 changed files with 129 additions and 31 deletions

View File

@@ -125,14 +125,15 @@
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)
check_eye(user)
if(ishuman(user))
var/mob/living/carbon/human/H = user
H.handle_vision()
return TRUE
/datum/nano_module/camera_monitor/proc/set_current(var/obj/machinery/camera/C)