Store original character name in mind.

This commit is contained in:
Pieter-Jan Briers
2020-04-18 00:38:19 +02:00
parent 9d130d98d3
commit c4f147bab4
3 changed files with 10 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using Content.Server.GameObjects.Components.Mobs;
using Content.Server.Players;
@@ -48,6 +48,9 @@ namespace Content.Server.Mobs
[ViewVariables] public IEntity CurrentEntity => VisitingEntity ?? OwnedEntity;
[ViewVariables(VVAccess.ReadWrite)]
public string CharacterName { get; set; }
/// <summary>
/// The component currently owned by this mind.
/// Can be null.