Prevent console creation from being triggered again when already enabled

This commit is contained in:
2025-11-18 18:35:24 +01:00
parent 0772703000
commit f89d03f002
2 changed files with 2 additions and 0 deletions

View File

@@ -348,6 +348,7 @@ static void CAFixEnabled() { // Chromatic aberrations
// UE Console creation
static void EnableConsole()
{
if (g_Console_Enabled) return;
if (!g_Console) {
logger->info("------------------ User inputs ------------------");
return;

View File

@@ -324,6 +324,7 @@ static void VolumetricFogFixEnabled() {
// UE Console creation
static void EnableConsole()
{
if (g_Console_Enabled) return;
if (!g_Console) {
logger->info("------------------ User inputs ------------------");
return;