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 crash bug when cancelling apport #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Lyle-Tafoya
Copy link

If a player cancels apport with ESC, setspot will set x and y each to -1, which causes a crash when those are used to index Level->site. This commit simply checks their values and outputs "Canceled." if either of them is less than 0.

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

1 participant