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

Invalid Save chars #2779

Merged
merged 2 commits into from
Apr 21, 2023
Merged

Invalid Save chars #2779

merged 2 commits into from
Apr 21, 2023

Conversation

Geokureli
Copy link
Member

@Geokureli Geokureli commented Apr 21, 2023

Fixes #2776

The previous code only replaced the first invalid character, now it replaces all invalid characters.

This also checks for a null FlxGame before logging to prevent a null crash when calling FlxG.save.bind before new FlxGame

@Geokureli Geokureli merged commit c19ff18 into HaxeFlixel:dev Apr 21, 2023
@Geokureli Geokureli deleted the save_chars branch April 21, 2023 17:31
Geokureli added a commit that referenced this pull request Apr 21, 2023
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.

Name and path validation issues in FlxSave
1 participant