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

Restrict small and large shields max amount #409

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

rautamik
Copy link
Contributor

Changes:
Limit small and large shields maximum amount to one.
Disable build button when maximum number of shields is reached.
Hide number of items to be build input field when maximum number of shields is reached.
Show maximum number reached icon in structure selector when maximum number of shields is reached.
Add unit test for object service max build amount calculation

Related issue:
#212

Copy link
Owner

@lanedirt lanedirt left a comment

Choose a reason for hiding this comment

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

Hi @rautamik,

Thank you for your contribution! I just tested the changes, and they work flawlessly. I also reviewed the code, and it looks great—no comments from my side. Thanks for taking the time to add the unit test as well. Superb work 🚀!

Merging the changes! And welcome as an official contributor to OGameX! 😄

@lanedirt lanedirt merged commit 5268834 into lanedirt:main Oct 22, 2024
6 checks passed
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