Skip to content

Commit 5688a91

Browse files
committed
CourseEdit: fix 2SP endings not triggering
1 parent 201d572 commit 5688a91

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/overlay/course_editor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ class CourseReplacement : public Hook
116116
inline static SafetyHookInline SumoLiveUpdate_Init_hook{};
117117
static void SumoLiveUpdate_Init_dest()
118118
{
119+
SumoLiveUpdate_Init_hook.call();
120+
119121
int* SumoLiveUpdate_State = Module::exe_ptr<int>(0x436D14);
120122
if (Game::CourseReplacementEnabled)
121123
*SumoLiveUpdate_State = 3;

0 commit comments

Comments
 (0)