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

Fix error when eye would kill player in bonus levels #452

Merged
merged 1 commit into from
Aug 15, 2019

Conversation

pppery
Copy link
Contributor

@pppery pppery commented Aug 15, 2019

#444 means that just calling obj._map, which the previous code was doing, will crash with "Attempt to access private property eye._map". Rewrite the code to pass the map explicitly to avoid that error.

@AlexNisnevich AlexNisnevich merged commit bfe77a9 into AlexNisnevich:master Aug 15, 2019
@pppery pppery deleted the fix-bonus-level branch August 16, 2019 14:57
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.

2 participants