From 73682709867852c25d39f86b38a35cff108e8df5 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Tue, 5 Dec 2023 19:36:47 -0500 Subject: [PATCH] Fix DynOS lvl crash --- data/dynos_mgr_lvl.cpp | 1 - src/pc/configfile.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/data/dynos_mgr_lvl.cpp b/data/dynos_mgr_lvl.cpp index db516244..56f1b7e9 100644 --- a/data/dynos_mgr_lvl.cpp +++ b/data/dynos_mgr_lvl.cpp @@ -92,7 +92,6 @@ void DynOS_Lvl_Activate(s32 modIndex, const SysPath &aFilename, const char *aLev auto& newScriptNode = newScripts[newScripts.Count() - 1]; const void* originalScript = DynOS_Builtin_ScriptPtr_GetFromName(newScriptNode->mName.begin()); if (originalScript == NULL) { - PrintError("Could not find level to override: '%s'", newScriptNode->mName.begin()); return; } diff --git a/src/pc/configfile.c b/src/pc/configfile.c index 13397e7a..fc63b7d4 100644 --- a/src/pc/configfile.c +++ b/src/pc/configfile.c @@ -258,7 +258,7 @@ static const struct ConfigOption options[] = { {.name = "coop_custom_palette_cap", .type = CONFIG_TYPE_COLOR , .colorValue = &configCustomPalette.parts[CAP]}, {.name = "coop_stay_in_level_after_star", .type = CONFIG_TYPE_UINT , .uintValue = &configStayInLevelAfterStar}, {.name = "coop_singleplayer_pause", .type = CONFIG_TYPE_BOOL , .boolValue = &configSingleplayerPause}, - {.name = "coop_compatibility", .type = CONFIG_TYPE_BOOL, .boolValue = &configCoopCompatibility}, + {.name = "coop_compatibility", .type = CONFIG_TYPE_BOOL , .boolValue = &configCoopCompatibility}, {.name = "disable_popups", .type = CONFIG_TYPE_BOOL , .boolValue = &configDisablePopups}, #if defined(DEVELOPMENT) {.name = "lua_profiler", .type = CONFIG_TYPE_BOOL , .boolValue = &configLuaProfiler},