Skip to content

Commit

Permalink
fix: Set nerf_stats.max_speed to >= MIN_SPEED
Browse files Browse the repository at this point in the history
Fixes #58.
  • Loading branch information
PraxTube committed Nov 1, 2023
1 parent c4745f5 commit 4c2876a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/console/command/player_nerf_stats.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::player::PlayerStats;
use crate::player::{PlayerStats, MIN_SPEED};

const MAX_NERF_STATS: PlayerStats = PlayerStats {
max_speed: 0.0,
max_speed: MIN_SPEED,
max_health: 1,
bullet_damage: 1,
rocket_reload_time: 10.0,
Expand Down

0 comments on commit 4c2876a

Please sign in to comment.