Skip to content

Commit

Permalink
Corrected wrong parameter name in profiler export.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neloreck committed Jan 19, 2025
1 parent 97b5ea7 commit 246055a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xrScriptEngine/ScriptEngineScript.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ SCRIPT_EXPORT(CScriptEngine, (),
{
GEnv.ScriptEngine->m_profiler->start();
}),
def("start", +[](CScriptProfilerType hook_type)
def("start", +[](CScriptProfilerType profiler_type)
{
GEnv.ScriptEngine->m_profiler->start(hook_type);
GEnv.ScriptEngine->m_profiler->start(profiler_type);
}),
def("start_hook_mode", +[]()
{
Expand Down

0 comments on commit 246055a

Please sign in to comment.