mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
deps/obs-scripting: Fix tick function arg number
Tick function was smashing stack every time it was called due to arg number mismatch.
This commit is contained in:
parent
7337b7ffb8
commit
65016d5ade
2
deps/obs-scripting/obs-scripting-lua.c
vendored
2
deps/obs-scripting/obs-scripting-lua.c
vendored
@ -377,7 +377,7 @@ static void obs_lua_tick_callback(void *priv, float seconds)
|
||||
lock_callback();
|
||||
|
||||
lua_pushnumber(script, (lua_Number)seconds);
|
||||
call_func(obs_lua_tick_callback, 2, 0);
|
||||
call_func(obs_lua_tick_callback, 1, 0);
|
||||
|
||||
unlock_callback();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user