[GEN][ZH] Unblock keyboard input on CRC mismatch #1209
Closed
+6
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I noticed this issue with a custom map that has a scripted intro readme that stays put for a couple of seconds. Keyboard input is ignored and the mouse cursor is hidden for the duration of the readme. If a replay CRC mismatch is detected during the showing of the readme file, the game is paused and it's annoying to get out of it because user input remains limited.
This PR checks the mouse visibility and if the mouse cursor is hidden on CRC mismatch, the options menu is toggled instead of pausing the game.In progress.Reproduction steps:
[Mod] Rebel Uprise 2 v10
(This map should be a part of the GenPatcher 'modded' map pack)Shouldn't require more than just the local host in a multiplayer match.