Skip to content

[CRASHFIX] Improve null-safety for character handling in PlayState#7374

Open
NotHyper-474 wants to merge 1 commit intoFunkinCrew:developfrom
NotHyper-474:fix/improved-playstate-characters-nullsafety
Open

[CRASHFIX] Improve null-safety for character handling in PlayState#7374
NotHyper-474 wants to merge 1 commit intoFunkinCrew:developfrom
NotHyper-474:fix/improved-playstate-characters-nullsafety

Conversation

@NotHyper-474
Copy link
Copy Markdown
Contributor

@NotHyper-474 NotHyper-474 commented Apr 14, 2026

Linked Issues

None, probably.

Description

Marks some functions in Stage as nullable so that the compiler is able to yell at your freaking face if you fail to properly null-check those. Fixes and prevents crashes with None characters in PlayState.

Screenshots/Videos

I'm too lazy to get a comparison video for one of the crashes this fixes, so have a screenshot instead.
image

@github-actions github-actions bot added status: pending triage Awaiting review. pr: haxe PR modifies game code. size: medium A medium pull request with 100 or fewer changes. and removed status: pending triage Awaiting review. labels Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: haxe PR modifies game code. size: medium A medium pull request with 100 or fewer changes.

Development

Successfully merging this pull request may close these issues.

1 participant