mirror of
https://github.com/kepler155c/opus
synced 2026-11-04 21:44:29 +00:00
sync module improvements
This commit is contained in:
1 parent
846569952c
commit
88f126bf2f
5 files changed
+53
-10
No files matched your search
@@ -34,6 +34,12 @@ _G._debug = function(pattern, ...)
|
||||
term.redirect(oldTerm)
|
||||
end
|
||||
|
||||
if not _G.debug then -- don't clobber lua debugger
|
||||
function _G.debug(...)
|
||||
_G._debug(...)
|
||||
end
|
||||
end
|
||||
|
||||
-- any function that runs in a kernel hook does not run in
|
||||
-- a separate coroutine or have a window. an error in a hook
|
||||
-- function will crash the system.
|
||||
|
||||
Reference in new issue
Block a user