mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Dedicated VPK switch improvements
Check for 'vpk\\server_mp_common.bsp.pak000_000.vpk' presence instead of 'vpk\\client_frontend.bsp.pak000_000.vpk' absence before switching to server VPK's.
This commit is contained in:
parent
7c0c541405
commit
cdf257ad32
@ -339,7 +339,7 @@ void Dedicated_Init()
|
||||
}
|
||||
|
||||
// This mandatory pak file should only exist on the client.
|
||||
if (!FileExists("vpk\\client_frontend.bsp.pak000_000.vpk"))
|
||||
if (FileExists("vpk\\server_mp_common.bsp.pak000_000.vpk"))
|
||||
{
|
||||
// Patch 'client' pak file string constants to 'server' if this is a standalone dedicated server.
|
||||
g_pClientVPKDir.PatchString("vpk/%sserver_%s.bsp.pak000%s");
|
||||
|
Loading…
x
Reference in New Issue
Block a user