]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_cmds.c
change the isserver builtin to just return sv.active rather than
[xonotic/darkplaces.git] / prvm_cmds.c
index 3b8a629d40067aa1380f593c6884a442548cca11..8e476383edd943c0696027f96c9750817fe497d2 100644 (file)
@@ -2793,7 +2793,7 @@ void VM_isserver(prvm_prog_t *prog)
 {
        VM_SAFEPARMCOUNT(0,VM_serverstate);
 
-       PRVM_G_FLOAT(OFS_RETURN) = sv.active && (svs.maxclients > 1 || cls.state == ca_dedicated);
+       PRVM_G_FLOAT(OFS_RETURN) = sv.active;
 }
 
 /*