From 6ee341e82842080fe5459facb8f620fd1b25d317 Mon Sep 17 00:00:00 2001 From: Buurazu Date: Sat, 11 Jun 2022 16:47:48 -0400 Subject: [PATCH] Nil check --- eid_tmtrainer.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/eid_tmtrainer.lua b/eid_tmtrainer.lua index 74607da9..3aa93111 100644 --- a/eid_tmtrainer.lua +++ b/eid_tmtrainer.lua @@ -113,6 +113,7 @@ local function CheckLogForItems(_) local eidDesc = "" local theLog = io.open(logLocation, "r") + if theLog == nil then return end theLog:seek("set", logCursor) local line = theLog:read()