From 43a70f495162a266b81b2989b9b5c90f7b5ded9c Mon Sep 17 00:00:00 2001 From: aka kautinkazu <81628831+chris1384@users.noreply.github.com> Date: Tue, 10 Sep 2024 03:05:28 +0300 Subject: [PATCH] [editor] Fix GUI not initializing on join during test map --- [editor]/editor_main/client/main.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/[editor]/editor_main/client/main.lua b/[editor]/editor_main/client/main.lua index 630ccb919..de1f55782 100644 --- a/[editor]/editor_main/client/main.lua +++ b/[editor]/editor_main/client/main.lua @@ -146,8 +146,6 @@ function startWhenLoaded() if getElementData(resourceRoot,"g_in_test") then setElementData ( localPlayer, "waitingToStart", true, false ) return - else - setElementData ( localPlayer, "waitingToStart", nil, false ) end if isInterfaceLoaded() then removeEventHandler("onClientResourceStart", root, startWhenLoaded)