Skip to content

Commit

Permalink
false -> !
Browse files Browse the repository at this point in the history
  • Loading branch information
Spatison committed Jul 9, 2024
1 parent d35e0ab commit a5c86c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Shared/OfferItem/SharedOfferItemSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ private void SetInReceiveMode(EntityUid uid, OfferItemComponent component, Inter
if (!TryComp<OfferItemComponent>(args.User, out var offerItem))
return;

if (args.User == uid || component.IsInReceiveMode || offerItem.IsInOfferMode == false ||
if (args.User == uid || component.IsInReceiveMode || !offerItem.IsInOfferMode ||
(offerItem.IsInReceiveMode && offerItem.Target != uid))
return;

Expand Down

0 comments on commit a5c86c9

Please sign in to comment.