Remove ISpriteComponent (#13458)
This commit is contained in:
@@ -42,7 +42,7 @@ public sealed class CharacterInfoSystem : EntitySystem
|
||||
|
||||
private void OnCharacterInfoEvent(CharacterInfoEvent msg, EntitySessionEventArgs args)
|
||||
{
|
||||
var sprite = CompOrNull<ISpriteComponent>(msg.EntityUid);
|
||||
var sprite = CompOrNull<SpriteComponent>(msg.EntityUid);
|
||||
var data = new CharacterData(msg.JobTitle, msg.Objectives, msg.Briefing, sprite, Name(msg.EntityUid));
|
||||
|
||||
OnCharacterUpdate?.Invoke(data);
|
||||
@@ -52,7 +52,7 @@ public sealed class CharacterInfoSystem : EntitySystem
|
||||
string Job,
|
||||
Dictionary<string, List<ConditionInfo>> Objectives,
|
||||
string Briefing,
|
||||
ISpriteComponent? Sprite,
|
||||
SpriteComponent? Sprite,
|
||||
string EntityName
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user