mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
[MIRROR] Fix observers not being able to read from afar (#2413)
* Fix observers not being able to read from afar (#55841) From the examine() code it's clear that this was intended, just a check in `ui_status` meant that the range check was being applied to them anyway. * Fix observers not being able to read from afar Co-authored-by: coiax <yellowbounder@gmail.com>
This commit is contained in:
@@ -152,7 +152,7 @@
|
||||
// Are we on fire? Hard ot read if so
|
||||
if(resistance_flags & ON_FIRE)
|
||||
return UI_CLOSE
|
||||
if(!in_range(user,src))
|
||||
if(!in_range(user, src) && !isobserver(user))
|
||||
return UI_CLOSE
|
||||
if(user.incapacitated(TRUE, TRUE) || (isobserver(user) && !isAdminGhostAI(user)))
|
||||
return UI_UPDATE
|
||||
|
||||
Reference in New Issue
Block a user