Fix offhand handling.

This commit is contained in:
Ottermandias 2023-07-11 16:21:25 +02:00
parent 279a5d6923
commit a310e01296
3 changed files with 5 additions and 7 deletions

View file

@ -157,7 +157,7 @@ public class DesignPanel
ImGui.SameLine();
var oh = _selector.Selected!.DesignData.Item(EquipSlot.OffHand);
if (_equipmentDrawer.DrawMainhand(oh, false, out var newOh))
if (_equipmentDrawer.DrawOffhand(oh, newMh.Type, out var newOh))
_manager.ChangeWeapon(_selector.Selected!, EquipSlot.OffHand, newOh);
}
}