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

Fixed bug that caused it to crash on load #13

Merged
merged 1 commit into from
Dec 31, 2016

Conversation

nehalvpatel
Copy link
Contributor

If the player object isn't declared, it crashes in the update method.

@kaorun343
Copy link
Owner

The reason why I didn't declare it inside data function is because when doing so, it'll be defined as reactive. Could you declare it in a init function if this way solves the problem you mentioned?

@kaorun343
Copy link
Owner

I'll merge this, thanks.

@kaorun343 kaorun343 closed this Dec 31, 2016
@kaorun343 kaorun343 reopened this Dec 31, 2016
@kaorun343 kaorun343 merged commit fb0c8ca into kaorun343:master Dec 31, 2016
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