fgmkJsEngine icon indicating copy to clipboard operation
fgmkJsEngine copied to clipboard

No Music Safari causes Battle Crash

Open ericoporto opened this issue 7 years ago • 0 comments

No music loaded in Safari um OSX. Because of that, the game.crashes in battle

[Error] Unhandled Promise Rejection: NotAllowedError (DOM Exception 35): The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. (anonymous function) rejectPromise play (anonymous function) (fgmkJsEngine:73:1418) [Error] TypeError: undefined is not an object (evaluating 'resources.music[song].volume') pushSong (fgmkJsEngine:129:838) battle (fgmkJsEngine:77:8411) runatomStack (fgmkJsEngine:77:4084) loop (fgmkJsEngine:77:3695) Global Code (Script Element 1,272:1) [Error] TypeError: undefined is not an object (evaluating 'battle.monster.length') drawMonsters (fgmkJsEngine:93:18001) loop (fgmkJsEngine:93:21857)

ericoporto avatar May 05 '18 13:05 ericoporto