mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
parent
3cec265d42
commit
b7e78ad6fc
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ public sealed class MindSystem : SharedMindSystem
|
|||
{
|
||||
component = EnsureComp<MindContainerComponent>(entity.Value);
|
||||
|
||||
if (TryGetMind(entity.Value, out var entityMindId, out _))
|
||||
if (TryGetMind(entity.Value, out var entityMindId, out _) && entityMindId != mindId)
|
||||
_ghosts.OnGhostAttempt(entityMindId, false);
|
||||
|
||||
if (TryComp<ActorComponent>(entity.Value, out var actor))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue