diff --git a/src/ship/items/actions.rs b/src/ship/items/actions.rs index a9d974a..66a2c0b 100644 --- a/src/ship/items/actions.rs +++ b/src/ship/items/actions.rs @@ -245,6 +245,7 @@ where let mut bank = item_state.bank(&character_id).await?; bank.remove_meseta(amount)?; transaction.gateway().set_bank_meseta(&character_id, &bank.name, bank.meseta).await?; + item_state.set_bank(bank).await; Ok(((item_state, transaction), ())) }) @@ -286,6 +287,7 @@ where let mut bank = item_state.bank(&character_id).await?; bank.add_meseta(amount)?; transaction.gateway().set_bank_meseta(&character_id, &bank.name, bank.meseta).await?; + item_state.set_bank(bank).await; Ok(((item_state, transaction), ())) })