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

When a map is deleted, remove it from the overmaparea too #519

Closed
snipercup opened this issue Dec 3, 2024 · 0 comments · Fixed by #521
Closed

When a map is deleted, remove it from the overmaparea too #519

snipercup opened this issue Dec 3, 2024 · 0 comments · Fixed by #521
Assignees
Labels
enhancement New feature or request

Comments

@snipercup
Copy link
Collaborator

snipercup commented Dec 3, 2024

I came across this while working on something else. When a map is deleted, it will remove itself from the tacticalmap that it's in, but not from the overmaparea.

Make changes to Map.gd and it's delete function so that the overmaparea is updated as well.

Remove the references variable from DMap as well
Remove the add_reference_to_tile from dtiles as well

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 a pull request may close this issue.

1 participant