We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 450825e commit f3ac58aCopy full SHA for f3ac58a
src/overlay/course_editor.cpp
@@ -308,10 +308,11 @@ class CourseReplacement : public Hook
308
}
309
310
inline static SafetyHookInline SumoNet_RecvGameLobbyInfoEx_hook{};
311
- static void SumoNet_RecvGameLobbyInfoEx_dest(void* a1)
+ static int SumoNet_RecvGameLobbyInfoEx_dest(void* a1)
312
{
313
- SumoNet_RecvGameLobbyInfoEx_hook.call(a1);
+ int ret = SumoNet_RecvGameLobbyInfoEx_hook.call<int>(a1);
314
UpdateCourseFromLobbyInfo();
315
+ return ret;
316
317
318
inline static SafetyHookMid SumoNet_UpdateLobbyInfoFromUI_hook{};
0 commit comments