Skip to content

Commit

Permalink
Removed redundant parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsawodi committed Sep 14, 2024
1 parent df22792 commit 4b8150e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Shared/Inventory/InventorySystem.Equip.cs
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ public bool CanEquip(EntityUid actor, EntityUid target, EntityUid itemUid, strin
if (!HasComp(slotEntity, entry.Component.GetType()))
return false;

if ((TryComp<AllowSuitStorageComponent>(slotEntity, out var comp) &&
_whitelistSystem.IsWhitelistFailOrNull(comp.Whitelist, itemUid)))
if (TryComp<AllowSuitStorageComponent>(slotEntity, out var comp) &&
_whitelistSystem.IsWhitelistFailOrNull(comp.Whitelist, itemUid))
return false;
}
}
Expand Down

0 comments on commit 4b8150e

Please sign in to comment.