aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/player.rs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-19 05:50:53 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-19 05:50:53 +0100
commite9dce64b009455163f2a262ed481c37300917c4a (patch)
treeca747f68d8e46e1de938ff3d54fe009249836cd4 /src/shared/player.rs
parent6805c6db39c1a9409b39aaf601f78db92b684c0d (diff)
chore: tweak champions
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),