From a7c1968a48ad083209aef7ecca04983a315cbd73 Mon Sep 17 00:00:00 2001 From: jake Date: Mon, 6 Feb 2023 20:42:48 -0700 Subject: [PATCH] properly commit shared bank meseta in inmemory transaction --- src/entity/gateway/inmemory.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/entity/gateway/inmemory.rs b/src/entity/gateway/inmemory.rs index b0dac57..7752780 100644 --- a/src/entity/gateway/inmemory.rs +++ b/src/entity/gateway/inmemory.rs @@ -200,6 +200,7 @@ impl EntityGatewayTransaction for InMemoryGatewayTransaction { self.original_gateway.characters.lock().await.extend(self.working_gateway.characters.lock().await.clone()); self.original_gateway.character_meseta.lock().await.extend(self.working_gateway.character_meseta.lock().await.clone()); self.original_gateway.bank_meseta.lock().await.extend(self.working_gateway.bank_meseta.lock().await.clone()); + self.original_gateway.shared_bank_meseta.lock().await.extend(self.working_gateway.shared_bank_meseta.lock().await.clone()); self.original_gateway.items.lock().await.extend(self.working_gateway.items.lock().await.clone()); self.original_gateway.inventories.lock().await.extend(self.working_gateway.inventories.lock().await.clone()); self.original_gateway.character_banks.lock().await.extend(self.working_gateway.character_banks.lock().await.clone());