Skip to content
This repository was archived by the owner on Mar 3, 2024. It is now read-only.
This repository was archived by the owner on Mar 3, 2024. It is now read-only.

No Music Safari causes Battle Crash #15

Description

@ericoporto

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions