Correctly manage icon state when visibility is lost.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
32a04f2af4
commit
a491e90573
|
@ -194,9 +194,10 @@ fn update<S>(
|
|||
entity.remove::<Rolloff>();
|
||||
});
|
||||
}
|
||||
} else if !sound.paused {
|
||||
sound.paused = true;
|
||||
sound.restart = true;
|
||||
}
|
||||
} else {
|
||||
sound.paused = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user