Preload sound for less timing problems
This commit is contained in:
parent
7fee192bd6
commit
cb8e70d75b
|
|
@ -15,6 +15,7 @@ function waitForAnimationEnd(elem, animationName)
|
|||
}
|
||||
|
||||
let sound = new Audio("../assets/game-boy-advance-startup-sound.mp3");
|
||||
sound.load();
|
||||
|
||||
async function sessionStartupAnimation()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue