Prevent console creation from being triggered again when already enabled
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user