Красивое УИ телепорта для призрака (#378)
* add: nice ghost teleport ui * fix: fix unused import * wtf * fuck you, search bar * fix-add: finally
This commit is contained in:
@@ -17,6 +17,10 @@ namespace Content.Shared.Mind.Components
|
||||
[Access(typeof(SharedMindSystem), Other = AccessPermissions.ReadWriteExecute)] // FIXME Friends
|
||||
public EntityUid? Mind { get; set; }
|
||||
|
||||
[DataField, AutoNetworkedField]
|
||||
[Access(typeof(SharedMindSystem), Other = AccessPermissions.ReadWriteExecute)]
|
||||
public EntityUid? LastMindStored { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// True if we have a mind, false otherwise.
|
||||
/// </summary>
|
||||
@@ -59,6 +63,7 @@ namespace Content.Shared.Mind.Components
|
||||
public MindRemovedMessage(Entity<MindComponent> mind, Entity<MindContainerComponent> container)
|
||||
: base(mind, container)
|
||||
{
|
||||
container.Comp.LastMindStored = mind; // Holy shit
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user