fix weapon size calculation

This commit is contained in:
CWX
2025-05-03 13:06:06 +01:00
parent bf94786f77
commit 2490747921
@@ -1447,8 +1447,8 @@ public class ItemHelper(
return new ItemSize
{
Width = width ?? 0 + sizeLeft + sizeRight + forcedLeft + forcedRight,
Height = height ?? 0 + sizeUp + sizeDown + forcedUp + forcedDown
Width = (width ?? 0) + sizeLeft + sizeRight + forcedLeft + forcedRight,
Height = (height ?? 0) + sizeUp + sizeDown + forcedUp + forcedDown
};
}