Remove unnecessary mut on system parameter
All checks were successful
Basic checks / Basic build-and-test supertask (push) Successful in 7m4s

This commit is contained in:
2025-08-14 22:33:53 -05:00
parent 20c71658c3
commit 0967795d51

View File

@@ -116,7 +116,7 @@ impl Sparkler {
/// Advances the timer in a sparkler, swapping between visible and invisible
/// each time the timer expires.
pub fn operate_sparklers(mut sparklers: Query<(&mut Visibility, &mut Sparkler)>, time: Res<Time>) {
pub fn operate_sparklers(sparklers: Query<(&mut Visibility, &mut Sparkler)>, time: Res<Time>) {
for (mut vis, mut timer) in sparklers {
if timer.tick(time.delta()).just_finished() {
// Cycle between visible and in-visible modes (and print warning for "Inherited")