Close consumables selection window automatically once a loadout item has been selected. Release Build 8038.

This commit is contained in:
2024-03-08 16:59:19 -06:00
parent 72c5a7394b
commit 13854574c9
14 changed files with 63 additions and 53 deletions
@@ -217,9 +217,9 @@ void Menu::InitializeCharacterMenuWindow(){
game->GetPlayer()->RestoreMana(manaBeforeEquip-game->GetPlayer()->GetMana(),true);
}
if(!ISBLANK(otherItem)){
if(slot==EquipSlot::RING1)Inventory::EquipItem(otherItem,EquipSlot::RING2);
if(slot&EquipSlot::RING1)Inventory::EquipItem(otherItem,EquipSlot::RING2);
else
if(slot==EquipSlot::RING2)Inventory::EquipItem(otherItem,EquipSlot::RING1);
if(slot&EquipSlot::RING2)Inventory::EquipItem(otherItem,EquipSlot::RING1);
}
}
}else{