aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/player.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/player.rs')
-rw-r--r--src/shared/player.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/player.rs b/src/shared/player.rs
index c42f5cb..d1df3af 100644
--- a/src/shared/player.rs
+++ b/src/shared/player.rs
@@ -30,7 +30,7 @@ impl PlayerBundle {
replicate.target::<Cooldown>(NetworkTarget::Single(id));
replicate.target::<EffectiveStats>(NetworkTarget::Single(id));
let champion = Champion::default();
- let effective_stats = EffectiveStats(BaseStats::from_champion(champion).0);
+ let effective_stats = EffectiveStats(champion.base_stats().0);
PlayerBundle {
id: PlayerId(id),
position: PlayerPosition(position),