mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 00:21:11 +01:00
Fixed the message server PDA messages logging (#19668)
Fixed the message server PDA messages logging. Fixed the message monitoring console for the aforementioned use. Fixed a runtime for AI distance check on trying to read papers. Created a preset for the message server so it's autolinked on the horizon. Fixes #11701 (For the Message Logs part)
This commit is contained in:
@@ -122,7 +122,7 @@
|
||||
/obj/item/paper/proc/can_read(var/mob/user, var/forceshow = FALSE)
|
||||
var/can_read = (istype(user, /mob/living/carbon/human) || isobserver(user) || istype(user, /mob/living/silicon)) || forceshow
|
||||
if(!forceshow && istype(user,/mob/living/silicon/ai))
|
||||
var/mob/living/silicon/ai/AI
|
||||
var/mob/living/silicon/ai/AI = user
|
||||
can_read = get_dist(src, AI.camera) < 2
|
||||
return can_read
|
||||
|
||||
|
||||
Reference in New Issue
Block a user