save player iteration on thinker

we know that there are no more than one player as `disable` is false and you know there is 1 if `p` exist
This commit is contained in:
Lonsfor 2022-05-14 07:41:40 +02:00
parent 6ea3341b06
commit 405a0e50f2
1 changed files with 1 additions and 1 deletions

View File

@ -1200,7 +1200,7 @@ local function think()
if leveltime < START_TIME then
-- Help message
if leveltime == START_TIME - TICRATE * 3 then
if ingame() == 1 then
if p then
if help then
help = false
chatprint(HELP_MESSAGE, true)