diff --git a/luamods/wolfadmin/util/files.lua b/luamods/wolfadmin/util/files.lua index 0d9374a..e4d7ff4 100644 --- a/luamods/wolfadmin/util/files.lua +++ b/luamods/wolfadmin/util/files.lua @@ -40,7 +40,7 @@ function files.loadFromCFG(fileName, idExpr) local fileDescriptor, fileLength = et.trap_FS_FOpenFile(fileName, et.FS_READ) if fileLength == -1 then - return nil + return 0, {} end local fileString = et.trap_FS_Read(fileDescriptor, fileLength).."\n\n"