Fix non-teambased scoreboards

This commit is contained in:
BrentVL-1952840 2023-03-23 11:27:38 +01:00
parent 3477ffc5ba
commit ee2e53d00b
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ namespace client_patches
void preload_map_stub(int localClientNum, const char* mapname, const char* gametype) 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(); stop_intro_if_needed();
preload_map_hook.invoke(localClientNum, mapname, gametype); preload_map_hook.invoke(localClientNum, mapname, gametype);
} }

View File

@ -28,7 +28,7 @@ namespace game
WEAK symbol<void(eNetworkModes networkMode)> Com_SessionMode_SetNetworkMode{0x1420F75B0, 0x140500B80}; WEAK symbol<void(eNetworkModes networkMode)> Com_SessionMode_SetNetworkMode{0x1420F75B0, 0x140500B80};
WEAK symbol<eGameModes(eGameModes gameMode)> Com_SessionMode_SetGameMode{0x1420F7570, 0x140500B40}; WEAK symbol<eGameModes(eGameModes gameMode)> Com_SessionMode_SetGameMode{0x1420F7570, 0x140500B40};
WEAK symbol<eModes(eModes mode)> Com_SessionMode_SetMode{0x1420F7570}; WEAK symbol<eModes(eModes mode)> Com_SessionMode_SetMode{0x1420F7570};
WEAK symbol<void(const char* gametype, bool loadDefaultSettings, bool isModified)> Com_GametypeSettings_SetGametype{ WEAK symbol<void(const char* gametype, bool loadDefaultSettings)> Com_GametypeSettings_SetGametype{
0x1420F5980 0x1420F5980
}; };
WEAK symbol<bool()> Com_IsRunningUILevel{0x142148350}; WEAK symbol<bool()> Com_IsRunningUILevel{0x142148350};