speedrun mode hotfixes (#1160)

This commit is contained in:
qwertyquerty
2026-05-13 00:10:25 -07:00
committed by GitHub
parent 9ce1ab7d5a
commit ce554a107d
3 changed files with 17 additions and 2 deletions
+4
View File
@@ -80,6 +80,7 @@
#include "dusk/audio/DuskAudioSystem.h"
#include "dusk/audio/DuskDsp.hpp"
#include "dusk/config.hpp"
#include "dusk/speedrun.h"
#include "dusk/settings.h"
#include "dusk/io.hpp"
#include "dusk/version.hpp"
@@ -522,6 +523,9 @@ int game_main(int argc, char* argv[]) {
log_build_info();
dusk::config::LoadFromUserPreferences();
if (dusk::getSettings().game.speedrunMode) {
dusk::resetForSpeedrunMode();
}
ApplyCVarOverrides(parsed_arg_options["cvar"]);
dusk::crash_reporting::initialize();
// TODO: How to handle this?