Browse Source

properly commit shared bank meseta in inmemory transaction

pull/130/head
jake 2 years ago
parent
commit
a7c1968a48
  1. 1
      src/entity/gateway/inmemory.rs

1
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());

Loading…
Cancel
Save