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

Adds logic for instanced areas #46

Merged
merged 2 commits into from
Feb 23, 2023
Merged

Adds logic for instanced areas #46

merged 2 commits into from
Feb 23, 2023

Conversation

eterchun
Copy link
Collaborator

Calls to deleteArea when switching to a new zone if that zone is "instanced". There may be instances where this is incorrect, but I haven't run into any since adding the logic for ignoring "Battlefield".

Calls to deleteArea when switching to a new zone if that zone is "instanced".  There may be instances where this is incorrect, but I haven't run into any since adding the logic for ignoring "Battlefield".
This likely would have led to the deletion of the area a user logged into.
@iLPdev
Copy link
Owner

iLPdev commented Feb 22, 2023

@eterchun Is the second commit the addendum of which you spoke? This is ready to go?

@iLPdev iLPdev added the enhancement New feature or request label Feb 22, 2023
@eterchun
Copy link
Collaborator Author

It is, and it should be. I've been using it in the meantime and it successfully deletes maps when I re-enter dungeons and they are then remapped. I haven't confirmed that the remapped areas have the correct exit linking, but they have all been visually correct.

@iLPdev iLPdev self-requested a review February 23, 2023 16:08
Copy link
Owner

@iLPdev iLPdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense to me. ignores battlefields + deletes instanced areas to clean up after itself given they'll be a different map the next time the area is entered. 👍

Copy link
Owner

@iLPdev iLPdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bah. right! nice squash! 🐛

@iLPdev iLPdev changed the title Adds logic for instanced areas Add logic for instanced areas Feb 23, 2023
@iLPdev iLPdev changed the title Add logic for instanced areas Adds logic for instanced areas Feb 23, 2023
@iLPdev iLPdev merged commit e85f777 into iLPdev:main Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants