-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Two score tables are shown in some SM Modes #1167
Comments
It seems to be that during the start of PyPlanet it Resets all UI.Properties hence (Shootmania.UI.ResetProperties) and then tries to set the AltScoresVisibility to True. However the AltScoresVisibility is for the ALT Key. See: |
Found the culprit i guess:
It resets the UIProperties so in any case the ScoresTable will be both shown, |
Reset is needed in order to have a ground truth in both the controller and the dedicated, after resetting we are setting the defaults, aren’t we?
|
Yes that is correct it goes back to default, but after a map restart or a next map the apparent bug seems to be solved. Not sure |
When using pyplanet with some shootmania modes like Elite/ElitePro.Script.txt you see two score tables.
Invoking
"Maniaplanet.UI.SetScoresTableVisibility"
with player "login" and "false" from instance.gbx() hides the second scoretable and leaves only the custom manialink score table.I see some code in the BaseUIManager to invoke "Maniaplanet.UI.SetAltScoresTableVisibility" conditionally when the game is shootmania. I'm wondering what the background for implementing that was and whether it might make sense to also invoke SetScoresTableVisibility at the same time as SetAltScoresTableVisiblity.
The thing is, for Elite at least, you would always want the SetScoresTableVisibility=false.
Expected Behavior
In elite the scoretable is implemented in custom manialink. I would expect that only that score table is shown.
Actual Behavior
Both the custom scoretable and the game's built-in score table are shown.
Steps to Reproduce (including precondition)
Your Environment
The text was updated successfully, but these errors were encountered: