Skip to content

Conversation

sphis-sinco
Copy link
Contributor

@sphis-sinco sphis-sinco commented Sep 11, 2025

Linked Issues

N/A

Description

When the game is compiled with the flag -D NO_HARDCODED_CREDITS the game will crash when trying to enter the credits state because of the missing credits json.

This is cause the credits json is in the excludes folder, I mean it would be hardcoded credits so I guess it makes sense? But there isn't any code or checks for un-hardcoded credits.

This PR fixes that.

Screenshots/Videos

Before:

Screen.Recording.2025-09-11.174910.mp4

After:

Screen.Recording.2025-09-11.181030.mp4

@github-actions github-actions bot added status: pending triage Awaiting review. size: small A small pull request with 10 or fewer changes. labels Sep 11, 2025
@AbnormalPoof AbnormalPoof added type: major bug Involves a major bug, including crashes, softlocks, or issues blocking progression pr: haxe PR modifies game code. labels Sep 12, 2025
@Hundrec Hundrec changed the title [BUGFIX] Missing Credits.json with -D NO_HARDCODED_CREDITS [BUGFIX] Prevent crash when missing credits.json with -D NO_HARDCODED_CREDITS Sep 13, 2025
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: small A small pull request with 10 or fewer changes. status: pending triage Awaiting review. type: major bug Involves a major bug, including crashes, softlocks, or issues blocking progression
Development

Successfully merging this pull request may close these issues.

2 participants