[BUGFIX]: Disable Screenshotting on HTML5 builds #3437
Closed
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.
Does this PR close any issues? If so, link them below.
Unsure, when I searched "screenshots" it has nothing related to it most likely due to how the issue format is.
Briefly describe the issue(s) fixed.
On HTML5, when the player would take a screenshot, it would crash since there was no "screenshots" directory due to it not being a windows build.
Include any relevant screenshots or videos.
Note:
I was spamming the screenshot button in this video
I changed the key to 8 since F3 would interfere with my browser, no actual code is set for it to be defaulted to 8, it is still F3.
https://github.com/user-attachments/assets/f815a48d-7b9b-400a-b031-229d4a255cb2