-
Notifications
You must be signed in to change notification settings - Fork 17
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
onSquadSelectionPageChanged triggers when the in-game inventory is scrollable #216
Comments
Can the two different menus this event triggers in be distinguished by being in a run vs not being in a run? |
I do believe the squad selection screen also shows on the statistics page, so whatever fix we use needs to work there too. Might be as simple as conditioning on the squad selection page open boolean (which again is something that needs to be fixed if its broken) |
That is why I suggested doing the conditional on something very fundamental as |
The reason I suggest something more specific is because if the more specific thing is also broken, we have bigger issues. Its easy enough to check a boolean function in 3 screens so the testing burden is not that much. |
I don't have much else to explain, the title says a lot, to reproduce the issue, subscribe to onSquadSelectionPageChanged, start a new game, immediately go unequip the pilot and weapon from your first mech, do the same for the second, onSquadSelectionPageChanged should trigger as soon as your inventory has 4 items, with a current_page value of 2 (didn't test much more because my hook is pretty destructive)
The text was updated successfully, but these errors were encountered: