Skip to content

Commit

Permalink
fixed talisman not being added
Browse files Browse the repository at this point in the history
  • Loading branch information
clayamore committed Mar 25, 2024
1 parent 50689db commit aaff794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/inventory/add_single.rs
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ impl InventoryViewModel {

fn add_talisman(&mut self, id: u32) {
let item_id = id | InventoryItemType::ACCESSORY as u32;
let gaitem_handle = self.generate_gaitem_handle_for_armament(InventoryGaitemType::ACCESSORY);
let gaitem_handle = id | InventoryGaitemType::ACCESSORY as u32;

// Fetch name
let name = match ACCESSORY_NAME.lock().unwrap().get(&id) {
Expand Down

0 comments on commit aaff794

Please sign in to comment.