Added DebugEnabled to initFunc's CVar list. This should prevent Debug Warp from being triggered when Boot to Debug Warp option is enabled but Debug Mode option is disabled.

This commit is contained in:
nclok1405 2025-06-13 13:23:48 +09:00
commit 7f773c8b91

View file

@ -30,4 +30,5 @@ void RegisterBootToDebugWarpScreen() {
}
static RegisterShipInitFunc initFunc_BootToDebugWarpScreen(RegisterBootToDebugWarpScreen,
{ CVAR_BOOT_TO_DEBUG_WARP_SCREEN_NAME });
{ CVAR_DEBUG_ENABLED_NAME,
CVAR_BOOT_TO_DEBUG_WARP_SCREEN_NAME });