From 9edfa6e31da2ba2585fa4fa4e0b0b2ae01fcec1f Mon Sep 17 00:00:00 2001 From: Thomas Wilgenbus Date: Thu, 7 Dec 2023 14:12:55 +0100 Subject: [PATCH] Update src/turret.rs Co-authored-by: Thierry Berger --- src/turret.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/turret.rs b/src/turret.rs index d41ff91..80354ef 100644 --- a/src/turret.rs +++ b/src/turret.rs @@ -108,7 +108,7 @@ impl Command for SpawnTurret { let (mut q_inventory, q_items) = state.get_mut(world); let (mut rng, mut inventory) = q_inventory.single_mut(); - //inventory.items.push_back(new_item); + inventory.items.push_back(new_item); let texture = world.resource_scope(|_, asset_server: Mut| { asset_server.load("textures/DifferentTurrets/Turret01.png")