aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/projectile.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/projectile.rs')
-rw-r--r--src/shared/projectile.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/projectile.rs b/src/shared/projectile.rs
index f9fb592..5da0526 100644
--- a/src/shared/projectile.rs
+++ b/src/shared/projectile.rs
@@ -1,3 +1,4 @@
+use crate::shared::damage::*;
use crate::shared::player::*;
use crate::shared::*;
@@ -24,7 +25,7 @@ impl ProjectileBundle {
pub struct Projectile {
pub type_: ProjectileType,
pub source_player: PlayerId,
- pub damage: f32,
+ pub damage: Damage,
}
#[derive(Component, Message, Serialize, Deserialize, Clone, Debug, PartialEq)]