From 5c34612afe236c60518777899677eb0a0c17165f Mon Sep 17 00:00:00 2001 From: jake Date: Thu, 20 Oct 2022 15:06:03 -0600 Subject: [PATCH] oh I should probably await that --- src/ship/items/apply_item.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ship/items/apply_item.rs b/src/ship/items/apply_item.rs index 7508358..6d4f840 100644 --- a/src/ship/items/apply_item.rs +++ b/src/ship/items/apply_item.rs @@ -121,7 +121,7 @@ where entity_gateway.use_mag_cell(&mag_entity_id, &cell_entity_id).await?; entity_gateway.set_character_inventory(&character.id, &inventory.as_inventory_entity(&character.id)).await?; - item_state.set_inventory(inventory); + item_state.set_inventory(inventory).await; Ok(Vec::new()) }