Skip to content

Commit 3f4ae9b

Browse files
committed
Remove print redirect hack
This somehow causes the modulepack-packed versions to not print anything, amazing.
1 parent 5f5367b commit 3f4ae9b

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

tptasm/init.lua

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ local function main(...)
66
local exit_with = 0
77

88
printf.init()
9-
local old_print = print
10-
function print(...)
11-
printf.debug(utility.get_line(2), ...)
12-
end
139

1410
local args = { ... }
1511
modulepack.xpcall_wrap(function()
@@ -164,7 +160,6 @@ local function main(...)
164160

165161
printf.unredirect()
166162
printf.info("done")
167-
print = old_print
168163
if not _G.tpt then
169164
os.exit(exit_with)
170165
end

0 commit comments

Comments
 (0)