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 issue with ping ponging between the two entrances to the same area #683

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

Conversation

sorc653
Copy link
Contributor

@sorc653 sorc653 commented Feb 19, 2025

Sometimes we'll ping pong between the sewers level 1 entrance. I was playing with a new run for palace/harem and noticed I couldn't go from palace level 1 to haram 2 or to palace level 3.

This is because this loop could select the opposing entrance:
for _, l := range ctx.Data.AdjacentLevels

I also attempted to sort this by distance but that might be a little too heavy handed.

Just remembering the entrance we're moving the mouse above makes more sense.

@Antizerg
Copy link

This helps people progress through the act 2 leveling script as well. Thanks for putting this together

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