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

Don't specify sDexSearchTypeOptions array size #4820

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

Sneed69
Copy link

@Sneed69 Sneed69 commented Jun 16, 2024

Description

Remove pointless specified size that keeps breaking Pokedex search (image below) whenever a new non-conventional type is added.

Images

image

Discord contact info

duke5614

Bassoonian
Bassoonian previously approved these changes Jun 17, 2024
@Bassoonian Bassoonian dismissed their stale review June 17, 2024 09:53

approved too soon

@Bassoonian
Copy link
Collaborator

Approved too quickly, sorry. Any reason this shouldn't target master instead?

@Sneed69
Copy link
Author

Sneed69 commented Jun 17, 2024

Approved too quickly, sorry. Any reason this shouldn't target master instead?

Bug only happens on upcoming because of #4462 increasing NUMBER_OF_MON_TYPES.

@Bassoonian
Copy link
Collaborator

That's fair, but "whenever a new non-conventional mon type is added" could theoretically happen to any hacker based of master adding their own custom types, right?

@Sneed69
Copy link
Author

Sneed69 commented Jun 17, 2024

I meant "non-conventional" as in a type that you wouldn't want displayed in the pokedex's search options, such as type NONE or Stellar but yes, it could happen.

@Bassoonian Bassoonian merged commit 9538d53 into rh-hideout:upcoming Jun 19, 2024
1 check 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