Skip to content

Commit

Permalink
Fix Debug Assert. (#1325)
Browse files Browse the repository at this point in the history
nothin' crazy, just annoying.
  • Loading branch information
sleepyyapril authored Dec 9, 2024
1 parent 8216a6e commit ca7e576
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Content.Shared/Interaction/SharedInteractionSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,8 @@ public void DoContactInteraction(EntityUid uidA, EntityUid? uidB, HandledEntityE
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;
Expand Down

0 comments on commit ca7e576

Please sign in to comment.