From 12a6419eaa087f34bdde49b3f9227b3cb5575341 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Sat, 23 Mar 2024 13:57:47 +0100 Subject: feat: add client faction --- src/shared/player.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/shared/player.rs') 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, } } -- cgit v1.2.3