Skip to content

Commit

Permalink
speargun
Browse files Browse the repository at this point in the history
  • Loading branch information
stillonearth committed May 7, 2024
1 parent 4cccbb7 commit 704da58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/entities/weapons/speargun.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use std::time::Duration;
use bevy::prelude::*;

use crate::entities::{
characters::enemy::{Enemy, EnemyHitEvent},
player::Player,
};
use crate::{loading::StaticSpriteAssets, GameState};
Expand Down Expand Up @@ -98,7 +97,7 @@ fn control(
angle = -0.1;
}

transform.rotation = transform.rotation * Quat::from_rotation_z(angle);
transform.rotation *= Quat::from_rotation_z(angle);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use pecs::prelude::*;
use cutscene::*;
use loading::*;
use menu::*;
use postprocessing::{PostProcessPlugin, PostProcessSettings};
use postprocessing::{PostProcessSettings};

mod audio;
mod controls;
Expand Down

0 comments on commit 704da58

Please sign in to comment.