Skip to content

Commit 9a19694

Browse files
author
arch
committed
fix ofs extension
1 parent 6bd09d8 commit 9a19694

File tree

2 files changed

+4
-2
lines changed
  • contrib/OpenFunscripter/extensions

2 files changed

+4
-2
lines changed

contrib/OpenFunscripter/extensions/Funscript Generator Linux/main.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,15 @@ function funscript_generator()
3737

3838
print(command)
3939
os.execute(command)
40-
-- ofs.SilentCmd(command, true)
40+
-- ofs.SilentCmd(command, false)
4141

4242
local f = io.open(tmpFile)
4343
if not f then
4444
print('lua: funscript generator output file not found')
4545
return
4646
end
4747

48+
script = ofs.Script(ofs.ActiveIdx())
4849
local k = 1
4950
for line in f:lines() do
5051
-- first line is header

contrib/OpenFunscripter/extensions/Funscript Generator Windows/main.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,15 @@ function funscript_generator()
3636

3737

3838
print(command)
39-
ofs.SilentCmd(command, true)
39+
ofs.SilentCmd(command, false)
4040

4141
local f = io.open(tmpFile)
4242
if not f then
4343
print('lua: funscript generator output file not found')
4444
return
4545
end
4646

47+
script = ofs.Script(ofs.ActiveIdx())
4748
local k = 1
4849
for line in f:lines() do
4950
-- first line is header

0 commit comments

Comments
 (0)