mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-07 14:02:48 +07:00
Fix ended Leader Voice not cleared and resumed on un-pause (#10724)
This commit is contained in:
parent
0d4c1fd7f8
commit
6d948e97ff
@ -663,7 +663,7 @@ class MusicController {
|
||||
}
|
||||
|
||||
private fun MusicTrackController.overlayTick() {
|
||||
if (timerTick() != MusicTrackController.State.Idle) return
|
||||
if (!timerTick().canPlay) return
|
||||
if (!overlayPausing && !isPlaying())
|
||||
clearOverlay() // means FadeOut-to-stop finished
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user