From 3f3b69e2bb8f49e292021bb9857facd60f4ac154 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sat, 16 Nov 2024 15:40:19 +0100 Subject: [PATCH] RTech: use log channel of to-swap pak file Reuse the channel id. --- src/rtech/pak/pakstate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtech/pak/pakstate.cpp b/src/rtech/pak/pakstate.cpp index 5902b6d9..11f0e4f4 100644 --- a/src/rtech/pak/pakstate.cpp +++ b/src/rtech/pak/pakstate.cpp @@ -171,7 +171,7 @@ static void Pak_Swap_f(const CCommand& args) while (pakInfo->status != PakStatus_e::PAK_STATUS_FREED) // Wait till this slot gets free'd. std::this_thread::sleep_for(std::chrono::seconds(1)); - g_pakLoadApi->LoadAsync(pakName, AlignedMemAlloc(), NULL, 0); + g_pakLoadApi->LoadAsync(pakName, AlignedMemAlloc(), pakInfo->logChannel, 0); } /*