Fix not being sorted when created
This commit is contained in:
parent
6775527467
commit
33d893ace9
|
@ -6,6 +6,7 @@ edition = "2021"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
# bevy = { version = "0.13.2", features = ["wav"] }
|
||||
bevy = { version = "0.13.2", features = ["wayland", "wav"] }
|
||||
# bevy = { version = "0.12.1", features = ["wayland", "file_watcher", "trace"] }
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ fn controls(
|
|||
.and_then(|cursor| camera.viewport_to_world(camera_transform, cursor))
|
||||
.map(|ray| ray.origin.truncate())
|
||||
{
|
||||
let spos = world_position.extend(0.);
|
||||
let spos = world_position.extend(-world_position.y);
|
||||
let statue_texture = asset_server.load("img/Props.png").clone();
|
||||
commands.spawn((
|
||||
Statue,
|
||||
|
|
Loading…
Reference in a new issue