diff --git a/banners/banner.lua b/banners/banner.lua index ad9e403..fcf8b1c 100644 --- a/banners/banner.lua +++ b/banners/banner.lua @@ -17,7 +17,6 @@ timer3 = 25 timer4 = 30 timer5 = 35 - ------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------- @@ -26,8 +25,7 @@ timer5 = 35 function et_InitGame( levelTime, randomSeed, restart ) et.RegisterModname( modname .. " " .. version ) - local milliseconds = et.trap_Milliseconds() -- is this right way ? - local a = (milliseconds*1000)%60 + local a = (levelTime*1000)%60 if(a == timer) then et.trap_SendConsoleCommand( et.EXEC_NOW, "cp \"" .. banner .."^7\n" ) @@ -45,8 +43,6 @@ function et_InitGame( levelTime, randomSeed, restart ) else et.trap_SendConsoleCommand( et.EXEC_NOW, "cp \"" .. "NO BANNERS" .."^7\n" ) - return milliseconds - end end