From 31ebc1af3252115df31dda21a7ce07a9c3333230 Mon Sep 17 00:00:00 2001 From: jake Date: Sun, 29 Jan 2023 17:06:48 -0700 Subject: [PATCH] actually store meseta bank interaction --- src/ship/items/actions.rs | 2 ++ 1 file changed, 2 insertions(+) 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), ())) })