mirror of
https://github.com/Mylloon/obs-replay-folders.git
synced 2024-11-09 09:47:01 +01:00
get folder location as soon as possible
This commit is contained in:
parent
fc52643f43
commit
a8223cc90a
1 changed files with 1 additions and 1 deletions
|
@ -17,8 +17,8 @@ end
|
|||
|
||||
function obs_frontend_callback(event)
|
||||
if event == obs.OBS_FRONTEND_EVENT_REPLAY_BUFFER_SAVED then
|
||||
local path = get_replay_buffer_output()
|
||||
local folder = get_running_game_title()
|
||||
local path = get_replay_buffer_output()
|
||||
if path ~= nil and folder ~= nil then
|
||||
print("Moving " .. path .. " to " .. folder)
|
||||
move(path, folder)
|
||||
|
|
Loading…
Reference in a new issue