From: FruitieX Date: Tue, 9 Nov 2010 19:19:59 +0000 (+0200) Subject: also don't store a speed award if the player lacks a UID X-Git-Tag: xonotic-v0.1.0preview~131^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=404d385bebf31bbcc7acb3073a4f9b2141ded767;p=xonotic%2Fxonotic-data.pk3dir.git also don't store a speed award if the player lacks a UID --- diff --git a/qcsrc/server/cl_physics.qc b/qcsrc/server/cl_physics.qc index e211275b0..efc9118ea 100644 --- a/qcsrc/server/cl_physics.qc +++ b/qcsrc/server/cl_physics.qc @@ -1317,7 +1317,7 @@ void SV_PlayerPhysics() rr = RACE_RECORD; race_send_speedaward(MSG_ALL); speedaward_lastsent = speedaward_speed; - if (speedaward_speed > speedaward_alltimebest) { + if (speedaward_speed > speedaward_alltimebest && speedaward_uid != "") { speedaward_alltimebest = speedaward_speed; speedaward_alltimebest_holder = speedaward_holder; speedaward_alltimebest_uid = speedaward_uid;