Cargo: pizza & bureaucracy (#5123)

* add paper label component

* git mv

* rename namespace

* add cargo printouts

* more crates

* directly attach paper

* comment typo
This commit is contained in:
Leon Friedrich
2021-11-11 02:15:23 +13:00
committed by GitHub
parent b8d8f48b11
commit 88df3d8b10
33 changed files with 384 additions and 162 deletions

View File

@@ -1,4 +1,4 @@
using Content.Shared.Morgue;
using Content.Shared.Labels;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
@@ -16,7 +16,7 @@ namespace Content.Client.Morgue.Visualizers
return;
}
if (component.TryGetData(BodyBagVisuals.Label, out bool labelVal))
if (component.TryGetData(PaperLabelVisuals.HasLabel, out bool labelVal))
{
sprite.LayerSetVisible(BodyBagVisualLayers.Label, labelVal);
}