Skip to content

Commit

Permalink
fix(ui): update player inventory on item drop
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwerty1Verified committed Sep 7, 2024
1 parent cdf144c commit fc9f32b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions html/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ const InventoryContainer = Vue.createApp({
});

if (response.data) {
delete this.playerInventory[playerItemKey];
this.otherInventory[1] = newItem;
this.otherInventoryName = response.data;
this.otherInventoryLabel = response.data;
Expand Down

0 comments on commit fc9f32b

Please sign in to comment.