Fix more component-dependency purge issues (#6178)

This commit is contained in:
Leon Friedrich
2022-01-15 20:06:48 +13:00
committed by GitHub
parent 7f39f5ff4b
commit 55f52f76be
4 changed files with 4 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ namespace Content.Server.Morgue.Components
void IExamine.Examine(FormattedMessage message, bool inDetailsRange)
{
if (_entities.TryGetComponent<AppearanceComponent>(Owner, out var appearance)) return;
if (!_entities.TryGetComponent<AppearanceComponent>(Owner, out var appearance)) return;
if (inDetailsRange)
{