Skip to content

Commit

Permalink
Update primedev/shared/playlist.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Cyn <[email protected]>
  • Loading branch information
VITALISED and itscynxx authored Apr 8, 2024
1 parent 83431ca commit 16b19af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions primedev/shared/playlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ ON_DLL_LOAD_RELIESON("engine.dll", PlaylistHooks, (ConCommand, ConVar), (CModule
module.Offset(0x18ED8D).Patch("C3");

// patch to allow setplaylistvaroverride to be called before map init on dedicated and private match launched through the game
// only run on non-vanilla as this patch makes users unable to change private match settings on vanilla
if (!g_pVanillaCompatibility->GetVanillaCompatibility())
module.Offset(0x18ED17).NOP(6);
}

0 comments on commit 16b19af

Please sign in to comment.