From ee2e53d00b091311f1be2d3b738ab2d4fdb2951c Mon Sep 17 00:00:00 2001 From: BrentVL-1952840 <70229620+Brentdevent@users.noreply.github.com> Date: Thu, 23 Mar 2023 11:27:38 +0100 Subject: [PATCH] Fix non-teambased scoreboards --- src/client/component/client_patches.cpp | 2 +- src/client/game/symbols.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/component/client_patches.cpp b/src/client/component/client_patches.cpp index 10393f01..d25fa120 100644 --- a/src/client/component/client_patches.cpp +++ b/src/client/component/client_patches.cpp @@ -39,7 +39,7 @@ namespace client_patches void preload_map_stub(int localClientNum, const char* mapname, const char* gametype) { - game::Com_GametypeSettings_SetGametype(gametype, false, false); + game::Com_GametypeSettings_SetGametype(gametype, true); stop_intro_if_needed(); preload_map_hook.invoke(localClientNum, mapname, gametype); } diff --git a/src/client/game/symbols.hpp b/src/client/game/symbols.hpp index e7b39db3..a6e5b605 100644 --- a/src/client/game/symbols.hpp +++ b/src/client/game/symbols.hpp @@ -28,7 +28,7 @@ namespace game WEAK symbol Com_SessionMode_SetNetworkMode{0x1420F75B0, 0x140500B80}; WEAK symbol Com_SessionMode_SetGameMode{0x1420F7570, 0x140500B40}; WEAK symbol Com_SessionMode_SetMode{0x1420F7570}; - WEAK symbol Com_GametypeSettings_SetGametype{ + WEAK symbol Com_GametypeSettings_SetGametype{ 0x1420F5980 }; WEAK symbol Com_IsRunningUILevel{0x142148350};