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 <contact@thierryberger.com>
  • Loading branch information
regnarock and Vrixyz authored Dec 7, 2023
1 parent 7ae4c8f commit 9edfa6e
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
@@ -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<AssetServer>| {
asset_server.load("textures/DifferentTurrets/Turret01.png")

0 comments on commit 9edfa6e

Please sign in to comment.