We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 83b2a4a + d765ec1 commit 838e009Copy full SHA for 838e009
assets/Mods/ConsoleEnablerMod/Scripts/main.lua
@@ -70,7 +70,10 @@ end
70
-- ENTRY POINT
71
--########################
72
73
-ExecuteInGameThread(CreateConsole)
+--- In cases where ClientRestart runs earlier than ExecuteInGameThread
74
+if (not WasConsoleCreated or IsDynamicViewport) then
75
+ ExecuteInGameThread(CreateConsole)
76
+end
77
78
--- We only need to create console once since it is a VP singleton
79
Pre, Post = RegisterHook("/Script/Engine.PlayerController:ClientRestart",
0 commit comments