Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AudioFile.js #3830

Merged
merged 1 commit into from
Jul 16, 2018
Merged

Update AudioFile.js #3830

merged 1 commit into from
Jul 16, 2018

Conversation

kelostrada
Copy link
Contributor

This PR Fixes a bug.

Describe the changes below:

When variable e is undefined or null then whole game won't start. In my case some bigger mp3 file on safari cannot load (which is another issue) and javascript breaks because of that. This is a small change which at least allows the error to be shown and the game to be started anyway.

@photonstorm photonstorm merged commit 7ec3675 into phaserjs:master Jul 16, 2018
@photonstorm
Copy link
Collaborator

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants