Ghost roles create new minds, better tracking of roles at round end screen (#5175)
* Ghost roles now get new Minds
* Some round start/end button stuff
* Mind tracking for better round end reports
* Make traitor kill objectives use mind CharacterName rather than actual occupied entity ("kill brain" prevention)
* Transition over to EntityUid for mind stuff because that's the only way to do it
* BrainSystem fix for PR rebase
This commit is contained in:
@@ -92,7 +92,7 @@ namespace Content.Server.Mind.Components
|
||||
EntitySystem.Get<SharedGhostSystem>().SetCanReturnToBody(ghost, false);
|
||||
}
|
||||
|
||||
Mind!.TransferTo(visiting);
|
||||
Mind!.TransferTo(visiting.Uid);
|
||||
}
|
||||
else if (GhostOnShutdown)
|
||||
{
|
||||
@@ -116,7 +116,7 @@ namespace Content.Server.Mind.Components
|
||||
if (Mind != null)
|
||||
{
|
||||
ghost.Name = Mind.CharacterName ?? string.Empty;
|
||||
Mind.TransferTo(ghost);
|
||||
Mind.TransferTo(ghost.Uid);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user