Remove some obsolete AppearanceComponent method usages (#13726)
This commit is contained in:
@@ -10,6 +10,7 @@ namespace Content.Server.Chat.TypingIndicator;
|
||||
public sealed class TypingIndicatorSystem : SharedTypingIndicatorSystem
|
||||
{
|
||||
[Dependency] private readonly ActionBlockerSystem _actionBlocker = default!;
|
||||
[Dependency] private readonly SharedAppearanceSystem _appearance = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
@@ -58,6 +59,6 @@ public sealed class TypingIndicatorSystem : SharedTypingIndicatorSystem
|
||||
if (!Resolve(uid, ref appearance, false))
|
||||
return;
|
||||
|
||||
appearance.SetData(TypingIndicatorVisuals.IsTyping, isEnabled);
|
||||
_appearance.SetData(uid, TypingIndicatorVisuals.IsTyping, isEnabled, appearance);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user