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

Updating the snitch list doesn't remove snitches that have been destroyed #3

Closed
awoo-civ opened this issue Dec 23, 2016 · 3 comments
Closed

Comments

@awoo-civ
Copy link
Contributor

Issue from Snitch Visualizer: waffle-stomper/Snitch-Visualizer#1

Steps to reproduce:

  1. Place down a snitch
  2. Update the snitch list
  3. Destroy the snitch
  4. Update the snitch list

The snitch field should disappear but it stays there.

@MrLittleKitty
Copy link
Owner

Yeah I am definitely aware of this issue as it has basically been around since the invention of Snitch Visualizer. However, it is a slightly more complicated problem than it seems.

The main reason I never patched it out of Snitch Visualizer is that there are times when you don't want snitches to be removed just because they no longer appear in your /jalist. Just because the snitch no longer appears in /jalist doesn't necessarily means its been removed. The player could have just been removed from the group that snitch was on or just lost permission to list snitches for that group. Sometimes it would be very useful to still have a list of snitches from a group you are no longer on.

BUT, now with the Snitch List structure, there are more possibilities to what could be done to fix this. One thing I considered at a point was to have a default Snitch List where snitches would be added if they disappeared from /jalist. Do you have any suggestions for a different fix or does that sound like a viable solution?

@awoo-civ
Copy link
Contributor Author

awoo-civ commented Dec 24, 2016

Ah, I hadn't considered that. Yeah, creating a special snitch list sounds like a fine solution. I'd name it 'Destroyed' and color it red by default. However, I think that snitches removed by the user himself should just be removed - #5.

@MrLittleKitty
Copy link
Owner

Completed as of 6a77551.

A long time coming...

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

No branches or pull requests

2 participants