fix: Fixes Velocity property not displaying value (#1938)

This commit is contained in:
Reetus 2024-08-21 11:15:12 +07:00 committed by GitHub
parent 35342e296e
commit 8a41d84239
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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~%
}