mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Explicitly use GT_SINGLE_PLAYER
This commit is contained in:
parent
80ab513d76
commit
e5beb0d9b9
1 changed files with 2 additions and 3 deletions
|
@ -337,10 +337,9 @@ qboolean TIKI_ParseIncludes( dloaddef_t *ld )
|
|||
static cvar_t* pServerType = Cvar_Get("g_servertype", "2", 0);
|
||||
static cvar_t* pGameType = Cvar_Get("cg_gametype", "0", CVAR_SERVERINFO | CVAR_LATCH);
|
||||
|
||||
if (pGameType->integer && pServerType->integer == 1) {
|
||||
if (pGameType->integer != GT_SINGLE_PLAYER && pServerType->integer == 1) {
|
||||
servertype = "spearheadserver";
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
servertype = "breakthroughserver";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue