mirror of
https://github.com/mrSkortch/MissionScriptingTools.git
synced 2025-08-15 10:47:23 +00:00
fix missing line number and func name
This commit is contained in:
parent
3c9da5754b
commit
6761878ce3
6
mist.lua
6
mist.lua
@ -6415,10 +6415,12 @@ do -- mist.Logger scope
|
||||
text = text:gsub('$' .. index, value)
|
||||
end
|
||||
end
|
||||
local fName = nil
|
||||
local cLine = nil
|
||||
if debug then
|
||||
local dInfo = debug.getinfo(3)
|
||||
local fName = dInfo.name
|
||||
local cLine = dInfo.currentline
|
||||
fName = dInfo.name
|
||||
cLine = dInfo.currentline
|
||||
-- local fsrc = dinfo.short_src
|
||||
--local fLine = dInfo.linedefined
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user