]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_main.c
compare coop.value instead of coop.integer
[xonotic/darkplaces.git] / sv_main.c
index 37d27a93d02b60e796c93a352ca8bee2c3013059..b6a23eafcc04a7f928bd9b0431b6008540495a18 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -1858,7 +1858,7 @@ void SV_SpawnServer (const char *server)
        ent->v->solid = SOLID_BSP;
        ent->v->movetype = MOVETYPE_PUSH;
 
-       if (coop.integer)
+       if (coop.value)
                pr_global_struct->coop = coop.integer;
        else
                pr_global_struct->deathmatch = deathmatch.integer;