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
|
// UE Console creation
|
||||||
static void EnableConsole()
|
static void EnableConsole()
|
||||||
{
|
{
|
||||||
|
if (g_Console_Enabled) return;
|
||||||
if (!g_Console) {
|
if (!g_Console) {
|
||||||
logger->info("------------------ User inputs ------------------");
|
logger->info("------------------ User inputs ------------------");
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -324,6 +324,7 @@ static void VolumetricFogFixEnabled() {
|
|||||||
// UE Console creation
|
// UE Console creation
|
||||||
static void EnableConsole()
|
static void EnableConsole()
|
||||||
{
|
{
|
||||||
|
if (g_Console_Enabled) return;
|
||||||
if (!g_Console) {
|
if (!g_Console) {
|
||||||
logger->info("------------------ User inputs ------------------");
|
logger->info("------------------ User inputs ------------------");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user