diff options
| author | mckinlee <mckinlee@ymail.com> | 2026-02-25 13:55:55 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-25 12:55:55 -0600 |
| commit | 57eb53be5bc000ca07580dc11d99910e9a61ac36 (patch) | |
| tree | 9b33b78aba06230a280257d5ad1cc065c788aabe | |
| parent | 0fa8ba899761028f369bc4659fea4a6116281ab9 (diff) | |
fix (#1578)
| -rw-r--r-- | mm/src/code/z_player_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/src/code/z_player_lib.c b/mm/src/code/z_player_lib.c index 11efb78e7..5ba73fc3f 100644 --- a/mm/src/code/z_player_lib.c +++ b/mm/src/code/z_player_lib.c @@ -772,6 +772,8 @@ ItemId Player_GetItemOnButton(PlayState* play, Player* player, EquipSlot slot) { if (slot == EQUIP_SLOT_B) { ItemId item = Inventory_GetBtnBItem(play); + GameInteractor_Should(VB_GET_ITEM_ON_BUTTON, item, slot, &item); + if (item >= ITEM_FD) { return item; } @@ -791,8 +793,6 @@ ItemId Player_GetItemOnButton(PlayState* play, Player* player, EquipSlot slot) { return ITEM_F2; } - GameInteractor_Should(VB_GET_ITEM_ON_BUTTON, item, slot, &item); - return item; } |
