From 9e010176fd1be1fd6283bdb5c269288c442b2a06 Mon Sep 17 00:00:00 2001 From: Florian Dubois Date: Sun, 9 May 2021 17:47:16 +0200 Subject: [PATCH] Removed a random debug output This one appeared when connecting to the server. --- gamemode/core/hooks/cl_hooks.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gamemode/core/hooks/cl_hooks.lua b/gamemode/core/hooks/cl_hooks.lua index e4359592..09cd0d1c 100644 --- a/gamemode/core/hooks/cl_hooks.lua +++ b/gamemode/core/hooks/cl_hooks.lua @@ -286,7 +286,7 @@ end function GM:CharacterListLoaded() local shouldPlayIntro = nut.config.get("alwaysPlayIntro", true) or not nut.localData.intro or nil - print("shouldPlayIntro", shouldPlayIntro) + timer.Create("nutWaitUntilPlayerValid", 0.5, 0, function() if (not IsValid(LocalPlayer())) then return end timer.Remove("nutWaitUntilPlayerValid") @@ -555,4 +555,4 @@ function GM:NutScriptLoaded() end end nut.plugin.namecache = namecache -end \ No newline at end of file +end