From dadd9486581d217c0482ddd639a13b95428e6366 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Tue, 9 Jan 2018 19:01:03 -0500 Subject: Logo delay logo now displays aftera short delay, so it's probably the first thing seen when opening console. --- gamemode/core/logo.lua | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'gamemode') diff --git a/gamemode/core/logo.lua b/gamemode/core/logo.lua index 05c8841..01633eb 100644 --- a/gamemode/core/logo.lua +++ b/gamemode/core/logo.lua @@ -1,6 +1,8 @@ local ngm = GM or GAMEMODE -timer.Simple(5,function() - local logo = [[ +local logo_printed = logo_printed or false +if not logo_printed then + timer.Simple(1,function() + local logo = [[ ___ - -_, , ( ~/|| || @@ -10,7 +12,8 @@ timer.Simple(5,function() ( - \\, \\, \\, \\,/ \\, |/ ( -_- - ]] - print(logo) - print(string.format("Version %d.%d.%d",unpack(ngm.Version))) -end) +]] + print(logo) + print(string.format("Version %d.%d.%d",unpack(ngm.Version))) + end) +end -- cgit v1.2.3-70-g09d2