Don't predict mind examine (#23769)
(cherry picked from commit 05d42dce9e0d1554f8a4fa1c98bc19912352e001)
This commit is contained in:
parent
703b4cb7cc
commit
8c3b51b23c
|
|
@ -21,6 +21,7 @@ namespace Content.Shared.Mind;
|
|||
public abstract class SharedMindSystem : EntitySystem
|
||||
{
|
||||
[Dependency] private readonly ISharedAdminLogManager _adminLogger = default!;
|
||||
[Dependency] private readonly INetManager _net = default!;
|
||||
[Dependency] private readonly MobStateSystem _mobState = default!;
|
||||
[Dependency] private readonly SharedObjectivesSystem _objectives = default!;
|
||||
[Dependency] private readonly SharedPlayerSystem _player = default!;
|
||||
|
|
@ -146,6 +147,10 @@ public abstract class SharedMindSystem : EntitySystem
|
|||
if (!mindContainer.ShowExamineInfo || !args.IsInDetailsRange)
|
||||
return;
|
||||
|
||||
// TODO predict we can't right now because session stuff isnt networked
|
||||
if (_net.IsClient)
|
||||
return;
|
||||
|
||||
var dead = _mobState.IsDead(uid);
|
||||
var hasUserId = CompOrNull<MindComponent>(mindContainer.Mind)?.UserId;
|
||||
var hasSession = CompOrNull<MindComponent>(mindContainer.Mind)?.Session;
|
||||
|
|
|
|||
Loading…
Reference in New Issue