aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/player.rs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-23 13:57:47 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-23 13:57:47 +0100
commit12a6419eaa087f34bdde49b3f9227b3cb5575341 (patch)
tree8b8dbadc50e81cef1386c2711edf0479e37d35ec /src/shared/player.rs
parent23d32213ff8832d2c4360618eb511a0098153818 (diff)
feat: add client faction
Diffstat (limited to 'src/shared/player.rs')
-rw-r--r--src/shared/player.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/player.rs b/src/shared/player.rs
index 59e8853..6b21bac 100644
--- a/src/shared/player.rs
+++ b/src/shared/player.rs
@@ -1,3 +1,4 @@
+use crate::shared::faction::*;
use crate::shared::activation::*;
use crate::shared::buffs::*;
use crate::shared::shape::*;
@@ -17,6 +18,7 @@ pub struct PlayerBundle {
buffs: Buffs,
activation: Activation,
shape: Shape,
+ faction: Faction,
replicate: Replicate,
}
@@ -48,6 +50,7 @@ impl PlayerBundle {
buffs: Buffs::default(),
activation: Activation::default(),
shape: Shape::player(),
+ faction: Faction::default(),
replicate,
}
}