This commit is contained in:
FutureRave 2023-05-14 10:06:20 +01:00
parent a59462f3c3
commit a38a148582

View File

@ -25,7 +25,7 @@ namespace game_event
void mantle_shutdown_anims_stub() void mantle_shutdown_anims_stub()
{ {
for (const auto& func : g_init_game_tasks_) for (const auto& func : g_shutdown_game_tasks_)
{ {
func(); func();
} }
@ -50,7 +50,7 @@ namespace game_event
void post_unpack() override void post_unpack() override
{ {
utils::hook::call(game::select(0x1419DD6EC, 0x1402ABC1B), rope_init_ropes_stub); utils::hook::call(game::select(0x1419DD6EC, 0x1402ABC1B), rope_init_ropes_stub);
utils::hook::call(game::select(0x141A02AAD, 0x1402ADF1D), rope_init_ropes_stub); utils::hook::call(game::select(0x141A02AAD, 0x1402ADF1D), mantle_shutdown_anims_stub);
} }
}; };
} }