mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-16 21:17:39 +03:00
AI now "can" use media console (#32334)
(cherry picked from commit 72acce520070056432058bf430152bd542d1802c)
This commit is contained in:
@@ -303,9 +303,6 @@ public sealed class NewsSystem : SharedNewsSystem
|
||||
|
||||
private bool CanUse(EntityUid user, EntityUid console)
|
||||
{
|
||||
// This shouldn't technically be possible because of BUI but don't trust client.
|
||||
if (!_interaction.InRangeUnobstructed(console, user))
|
||||
return false;
|
||||
|
||||
if (TryComp<AccessReaderComponent>(console, out var accessReaderComponent))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user