mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-14 19:25:16 -05:00
Fix FunkinSound
not resuming after focus
`FunkingSound.onFocus` was checking `_shouldPlay` before resuming, but this would always be false, causing the sound to not resume when tabbing out and back into the game.
This commit is contained in:
parent
15accdf10f
commit
d6b3e2a9cf
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ class FunkinSound extends FlxSound implements ICloneable<FunkinSound>
|
|||
*/
|
||||
override function onFocus():Void
|
||||
{
|
||||
if (!_alreadyPaused && this._shouldPlay)
|
||||
if (!_alreadyPaused)
|
||||
{
|
||||
resume();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue