From 8a41d84239c331bd195b663a46fbead735558e2d Mon Sep 17 00:00:00 2001 From: Reetus <6239195+Reetus@users.noreply.github.com> Date: Wed, 21 Aug 2024 11:15:12 +0700 Subject: [PATCH] fix: Fixes Velocity property not displaying value (#1938) --- Projects/UOContent/Items/Weapons/BaseWeapon.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projects/UOContent/Items/Weapons/BaseWeapon.cs b/Projects/UOContent/Items/Weapons/BaseWeapon.cs index c4698011f..ccec00c08 100644 --- a/Projects/UOContent/Items/Weapons/BaseWeapon.cs +++ b/Projects/UOContent/Items/Weapons/BaseWeapon.cs @@ -3109,7 +3109,7 @@ public abstract partial class BaseWeapon : Item, IWeapon, IFactionItem, ICraftab list.Add(1111917); // Immolated } - if (Core.ML && (ranged?.Velocity ?? 0) != 0) + if (Core.ML && (prop = ranged?.Velocity ?? 0) != 0) { list.Add(1072793, prop); // Velocity ~1_val~% }