mirror of
https://github.com/TangentFoxy/lovebird.git
synced 2025-07-28 11:02:19 +00:00
Changed trace() to always output to lovebird's console
Regardless of what lovebird.wrapprint is set to, trace() will now always output to lovebirds console.
This commit is contained in:
@@ -323,7 +323,9 @@ local map = function(t, fn)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local trace = function(...)
|
local trace = function(...)
|
||||||
print("[lovebird] " .. table.concat(map({...}, tostring), " "))
|
local str = "[lovebird] " .. table.concat(map({...}, tostring), " ")
|
||||||
|
print(str)
|
||||||
|
if not lovebird.wrapprint then lovebird.print(str) end
|
||||||
end
|
end
|
||||||
|
|
||||||
local unescape = function(str)
|
local unescape = function(str)
|
||||||
|
Reference in New Issue
Block a user