From fb02ef1931fdad487651190e4cedef7cbc069615 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 7 Aug 2017 18:43:13 +1000 Subject: [PATCH] Slight optimization: check client before real client --- qcsrc/server/g_world.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index ccba885f1..73349ecac 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -53,7 +53,7 @@ void PingPLReport_Think(entity this) this.nextthink = time + delta; e = edict_num(this.cnt + 1); - if(IS_REAL_CLIENT(e) && IS_CLIENT(e)) + if(IS_CLIENT(e) && IS_REAL_CLIENT(e)) { WriteHeader(MSG_BROADCAST, TE_CSQC_PINGPLREPORT); WriteByte(MSG_BROADCAST, this.cnt); -- 2.39.5