Inline Description

This commit is contained in:
Vera Aguilera Puerto
2021-12-03 11:15:12 +01:00
parent 70bbd8c502
commit f06bfc22ce
9 changed files with 16 additions and 11 deletions

View File

@@ -5,6 +5,7 @@ using Content.Shared.Light.Component;
using Robust.Server.GameObjects;
using Robust.Shared.Audio;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Player;
using Robust.Shared.ViewVariables;
@@ -155,7 +156,7 @@ namespace Content.Server.Light.Components
CurrentState = ExpendableLightState.Dead;
Owner.Name = SpentName;
Owner.Description = SpentDesc;
IoCManager.Resolve<IEntityManager>().GetComponent<MetaDataComponent>(Owner.Uid).EntityDescription = SpentDesc;
UpdateSpriteAndSounds(Activated);
UpdateVisualizer();