From 2e74348813a285a8a62ab3cfdc080e0f354f8d8b Mon Sep 17 00:00:00 2001 From: Adam Whitehurst Date: Sun, 30 May 2021 13:40:25 -0700 Subject: [PATCH] refactor: variable names --- common/systems/src/buff.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/systems/src/buff.rs b/common/systems/src/buff.rs index 3bf62fb0eb..28188a41df 100644 --- a/common/systems/src/buff.rs +++ b/common/systems/src/buff.rs @@ -208,11 +208,11 @@ impl<'a> System<'a> for Sys { stat.max_health_modifier *= current_fraction; } }, - BuffEffect::MovementSpeed(ms) => { - stat.move_speed_modifier *= *ms; + BuffEffect::MovementSpeed(speed) => { + stat.move_speed_modifier *= *speed; }, - BuffEffect::AttackSpeed(val) => { - stat.attack_speed_modifier *= *val; + BuffEffect::AttackSpeed(speed) => { + stat.attack_speed_modifier *= *speed; }, }; }