mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 17:41:56 +00:00
Sight Stuff (#11546)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user