Update scripting.cpp

This commit is contained in:
Federico Cecchetto 2021-08-31 02:39:36 +02:00
parent 3aa43ff431
commit 8270fb31ab

View File

@ -102,7 +102,6 @@ namespace scripting
void scr_set_thread_position_stub(unsigned int threadName, const char* codePos) void scr_set_thread_position_stub(unsigned int threadName, const char* codePos)
{ {
const auto function_name = scripting::find_token(threadName); const auto function_name = scripting::find_token(threadName);
script_function_table[current_file][function_name] = codePos; script_function_table[current_file][function_name] = codePos;
scr_set_thread_position_hook.invoke<void>(threadName, codePos); scr_set_thread_position_hook.invoke<void>(threadName, codePos);