Paper Visualizer (#4811)

This commit is contained in:
20kdc
2021-10-09 14:48:53 +01:00
committed by GitHub
parent 090692560b
commit 4f5cbb63de
3 changed files with 28 additions and 2 deletions

View File

@@ -72,9 +72,9 @@ namespace Content.Server.Paper
Content += msg.Text + '\n';
if (Owner.TryGetComponent(out SpriteComponent? sprite))
if (Owner.TryGetComponent(out AppearanceComponent? appearance))
{
sprite.LayerSetState(0, "paper_words");
appearance.SetData(PaperVisuals.Status, PaperStatus.Written);
}
Owner.Description = "";