]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
also don't store a speed award if the player lacks a UID
authorFruitieX <fruitiex@gmail.com>
Tue, 9 Nov 2010 19:19:59 +0000 (21:19 +0200)
committerFruitieX <fruitiex@gmail.com>
Tue, 9 Nov 2010 19:19:59 +0000 (21:19 +0200)
qcsrc/server/cl_physics.qc

index e211275b0f3eb4f7d1af694562ada31beabe39ae..efc9118ea85eebfcfbe6b2fb199d327c34328928 100644 (file)
@@ -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;