chore: remove duplicate player

This commit is contained in:
Muhammad Nauman Raza 2024-04-05 22:12:22 +01:00
parent 5185bd066b
commit 2fe5d9f15d
Signed by: devraza
GPG key ID: 91EAD6081011574B

View file

@ -66,15 +66,6 @@ fn main() {
// Bevy engine setup
fn setup(mut commands: Commands, asset_server: Res<AssetServer>) {
commands.spawn(SpriteBundle {
texture: asset_server.load("player/player-4x.png"),
transform: Transform {
scale: Vec3::splat(0.25),
..default()
},
..default()
});
// Spawn the 2D camera
commands.spawn(Camera2dBundle {
camera: Camera {