Skip to content

Commit

Permalink
Simplify expansion test
Browse files Browse the repository at this point in the history
  • Loading branch information
eamousing committed Jan 12, 2025
1 parent 6d6ffbd commit 72b9b58
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Projects/UOContent/Items/Armor/BaseArmor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1454,7 +1454,7 @@ public override void GetProperties(IPropertyList list)

public override void OnSingleClick(Mobile from)
{
if (Core.Expansion < Expansion.UOTD)
if (!Core.UOTD)
{
OnSingleClickPreUOTD(from);
return;
Expand Down
2 changes: 1 addition & 1 deletion Projects/UOContent/Items/Clothing/BaseClothing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ public override void GetProperties(IPropertyList list)

public override void OnSingleClick(Mobile from)
{
if (Core.Expansion < Expansion.UOTD)
if (!Core.UOTD)
{
OnSingleClickPreUOTD(from);
return;
Expand Down
2 changes: 1 addition & 1 deletion Projects/UOContent/Items/Wands/BaseWand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public override void GetProperties(IPropertyList list)

public override void OnSingleClick(Mobile from)
{
if (Core.Expansion < Expansion.UOTD)
if (!Core.UOTD)
{
OnSingleClickPreUOTD(from);
return;
Expand Down
2 changes: 1 addition & 1 deletion Projects/UOContent/Items/Weapons/BaseWeapon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3327,7 +3327,7 @@ out var direct

public override void OnSingleClick(Mobile from)
{
if (Core.Expansion < Expansion.UOTD)
if (!Core.UOTD)
{
OnSingleClickPreUOTD(from);
return;
Expand Down

0 comments on commit 72b9b58

Please sign in to comment.