diff --git a/common/src/comp/buff.rs b/common/src/comp/buff.rs index fd5af489e1..348352713b 100644 --- a/common/src/comp/buff.rs +++ b/common/src/comp/buff.rs @@ -636,6 +636,7 @@ pub mod tests { BuffSource::Unknown, time, None, + None, ) } diff --git a/common/systems/src/buff.rs b/common/systems/src/buff.rs index 97675da10a..94317bd621 100644 --- a/common/systems/src/buff.rs +++ b/common/systems/src/buff.rs @@ -151,7 +151,7 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(&health), + Some(health), )), }); } @@ -169,7 +169,7 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(&health), + Some(health), )), }); } @@ -187,7 +187,7 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(&health), + Some(health), )), }); // When standing on IceSpike also apply Frozen @@ -200,7 +200,7 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(&health), + Some(health), )), }); } @@ -221,7 +221,7 @@ impl<'a> System<'a> for Sys { BuffSource::World, *read_data.time, Some(&stat), - Some(&health), + Some(health), )), }); } else if matches!( @@ -301,7 +301,7 @@ impl<'a> System<'a> for Sys { buff.source, *read_data.time, Some(&stat), - Some(&health), + Some(health), )), }); }