Fix PlantHolder interactions & InteractionSystem assert (#32874)

This commit is contained in:
Leon Friedrich
2024-10-18 18:40:36 +13:00
committed by GitHub
parent ab86745c4e
commit adb7aee831
2 changed files with 12 additions and 4 deletions

View File

@@ -1372,7 +1372,8 @@ namespace Content.Shared.Interaction
if (uidB == null || args?.Handled == false)
return;
DebugTools.AssertNotEqual(uidA, uidB.Value);
if (uidA == uidB.Value)
return;
if (!TryComp(uidA, out MetaDataComponent? metaA) || metaA.EntityPaused)
return;