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

Bug fix - Clean up sniping logic #4207

Merged

Conversation

jjskuld
Copy link
Contributor

@jjskuld jjskuld commented Aug 10, 2016

  1. Remove redundant checks to locations visited (was checking this twice unnecessarily)
  2. Remove double-addition and incorrect addition to locations visited (it would blacklist a location even if sniping did not occur due to full pokemon inventory for instance).
  3. Cleanup last sniping time (should be set within the Snipe function).

By the way, this is a revert of most of the changes made in 329306b

@djdookie
Copy link

Nice, thanks for cleaning up the snipe code!

@BornSupercharged BornSupercharged merged commit 1d5d9eb into NecronomiconCoding:master Aug 10, 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
3 participants