Skip to content

Commit

Permalink
Update src/turret.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Thierry Berger <[email protected]>
  • Loading branch information
regnarock and Vrixyz committed Dec 13, 2023
1 parent 293c0b1 commit 1a971e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/turret.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl EntityCommand for SpawnTurret {
let (mut q_inventory, _q_items) = state.get_mut(world);
let (_rng, _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<AssetServer>| {
asset_server.load("textures/DifferentTurrets/Turret01.png")
Expand Down

0 comments on commit 1a971e4

Please sign in to comment.