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

Adding a world structure to the same place twice should result in moving it to the end of the vector #96

Open
TheRealKaup opened this issue Aug 4, 2024 · 0 comments
Labels
world World structures

Comments

@TheRealKaup
Copy link
Owner

Currently, adder functions will return false if a world structure is already stored in the vector, and do nothing else.

Instead, they should also move it from its current position to the end of the vector, since it's likely the intuitive intention of users who accidentally added a world structure twice to the same place (whether they forgot they added it the first time or not).

@TheRealKaup TheRealKaup changed the title Adding a world structure to the same place twice should result in moving it the end of the vector Adding a world structure to the same place twice should result in moving it to the end of the vector Aug 5, 2024
@TheRealKaup TheRealKaup added world World structures and removed enhancement labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
world World structures
Projects
None yet
Development

No branches or pull requests

1 participant