Bugfix Shotgun (#10732)

* Bugfix Shotgun

* fix changelog
This commit is contained in:
Wildkins
2020-12-08 05:43:09 -05:00
committed by GitHub
parent ce7ae2b308
commit 63c6cd2158
17 changed files with 71 additions and 23 deletions
@@ -152,6 +152,12 @@
current_camera = null
/datum/nano_module/camera_monitor/check_eye(var/mob/user as mob)
if(istype(ui_host(), /obj/machinery/computer))
var/obj/machinery/computer/C = ui_host()
if (C.use_check_and_message(user) || C.inoperable())
return -1
if(user.blinded)
return -1
if(!current_camera)
return 0
var/viewflag = current_camera.check_eye(user)