mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-14 17:36:52 +01:00
Fix security camera consoles, hopefully (#13507)
This commit is contained in:
@@ -157,12 +157,11 @@
|
||||
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())
|
||||
var/obj/item/modular_computer/MC = user.machine
|
||||
if(istype(MC) && ui_host() == MC)
|
||||
if(!MC.working || user.blinded || user.stat)
|
||||
user.unset_machine()
|
||||
return -1
|
||||
if(user.blinded)
|
||||
return -1
|
||||
if(!current_camera)
|
||||
return 0
|
||||
var/viewflag = current_camera.check_eye(user)
|
||||
|
||||
Reference in New Issue
Block a user