Nil check
This commit is contained in:
1 parent
39874d2886
commit
6ee341e828
1 file changed
+1
@@ -113,6 +113,7 @@ local function CheckLogForItems(_)
|
|||||||
local eidDesc = ""
|
local eidDesc = ""
|
||||||
|
|
||||||
local theLog = io.open(logLocation, "r")
|
local theLog = io.open(logLocation, "r")
|
||||||
|
if theLog == nil then return end
|
||||||
theLog:seek("set", logCursor)
|
theLog:seek("set", logCursor)
|
||||||
|
|
||||||
local line = theLog:read()
|
local line = theLog:read()
|
||||||
|
|||||||
Reference in new issue
Block a user