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

Add Debug Mode #222

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Add Debug Mode #222

wants to merge 4 commits into from

Conversation

Lemonymous
Copy link
Contributor

@Lemonymous Lemonymous commented Jul 8, 2024

This essentially enables the opposite, by allowing us to turn off debug mode, and bypass asserts. Previously, we have always run with all asserts continuously on.

Adds an option to the mod loader's in-game configuration to change the flag modApi.debugMode, which if true will run Assert calls normally, and false bypass them.

Adds a news popup which can be used to show important news for the current mod loader release.
If disabled by the user, it will automatically be turned on when updating the mod loader to a new version.
Adds news about the Debug Mode via this popup.

This essentially enables the opposite, by allowing us to turn off debug mode, and bypass asserts.
Previously, we have always run with all asserts continuously on.
This popup can be used to show important news for the current mod loader release.
If disabled by the user, it will automatically be turned on when updating the mod loader to a new version.
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.

1 participant