Don't unvisit before transferring mind (#760)
This commit is contained in:
committed by
GitHub
parent
60d6b4af7d
commit
4b1fd4cfd1
@@ -55,9 +55,6 @@ namespace Content.Server.Administration
|
||||
return;
|
||||
}
|
||||
|
||||
if(mind.IsVisitingEntity)
|
||||
mind.UnVisit();
|
||||
|
||||
mindComponent.Mind?.TransferTo(null);
|
||||
mind.TransferTo(target);
|
||||
|
||||
|
||||
@@ -40,9 +40,6 @@ namespace Content.Server.GlobalVerbs
|
||||
var userMind = user.GetComponent<IActorComponent>().playerSession.ContentData().Mind;
|
||||
var targetMind = target.GetComponent<MindComponent>();
|
||||
|
||||
if(userMind.IsVisitingEntity)
|
||||
userMind.UnVisit();
|
||||
|
||||
targetMind.Mind?.TransferTo(null);
|
||||
userMind.TransferTo(target);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user