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

Fix past gen tooltips #2247

Merged
merged 3 commits into from
May 6, 2024
Merged

Fix past gen tooltips #2247

merged 3 commits into from
May 6, 2024

Conversation

Karthik99999
Copy link
Contributor

https://www.smogon.com/forums/threads/bug-report-client.3742657/

The reason it broke is because the tooltips object is created before the client receives the gen/tier protocol that updates the battle dex, so the tooltips were always using the latest dex. I reverted the change that gave tooltips its own dex property, because it doesn't make much sense to double up on the logic to determine what dex to use.

@Karthik99999 Karthik99999 requested a review from KrisXV as a code owner May 5, 2024 16:41
@monsanto monsanto merged commit 3e518b3 into smogon:master May 6, 2024
1 check passed
@Karthik99999 Karthik99999 deleted the dex branch May 21, 2024 13:47
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.

None yet

2 participants