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

Safari: Fixup problem when entering a new instance #351

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

Farigh
Copy link
Owner

@Farigh Farigh commented Mar 8, 2024

When an instance of the Safari was completed, and a new one was started, the path to the farm area was not refreshed.
This resulted in the player going to the previous run location, often not a Grass of Water location.

This could cause crashes as well, if the user resized their browser window, since the size of the safari grid depends on the browser size.

The internal data is now properly reset between each run.

@Farigh Farigh added the bug Something isn't working label Mar 8, 2024
@Farigh Farigh added this to the v0.6 milestone Mar 8, 2024
When an instance of the Safari was completed, and a new one
was started, the path to the farm area was not refreshed.
This resulted in the player going to the previous run location,
often not a Grass of Water location.

This could cause crashes as well, if the user resized their browser
window, since the size of the safari grid depends on the browser size.

The internal data is now properly reset between each run.
@Farigh Farigh force-pushed the bugfix/fixup-safari-behaviour branch from cc47447 to 8a96016 Compare March 8, 2024 16:45
@Farigh Farigh merged commit c36113c into master Mar 8, 2024
1 check passed
@Farigh Farigh deleted the bugfix/fixup-safari-behaviour branch March 8, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant