]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_world.qc
Hack the vote command parser to return an error code to avoid the incorrect 'invalid...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_world.qc
index f00db073e47e1b805fd1bf5ac90a85cffb2e5a3a..ccba885f1eab7211098111a9d6eb2ca270ba2a82 100644 (file)
@@ -53,7 +53,7 @@ void PingPLReport_Think(entity this)
        this.nextthink = time + delta;
 
        e = edict_num(this.cnt + 1);
-       if(IS_REAL_CLIENT(e))
+       if(IS_REAL_CLIENT(e) && IS_CLIENT(e))
        {
                WriteHeader(MSG_BROADCAST, TE_CSQC_PINGPLREPORT);
                WriteByte(MSG_BROADCAST, this.cnt);