We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e2d111 commit b0d93eaCopy full SHA for b0d93ea
assets/Mods/ConsoleEnablerMod/Scripts/main.lua
@@ -70,7 +70,10 @@ end
70
-- ENTRY POINT
71
--########################
72
73
-ExecuteInGameThread(CreateConsole)
+--- In case when 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