From: FruitieX Date: Wed, 27 Oct 2010 09:37:52 +0000 (+0300) Subject: fix speed awards on the ladder, branch should now be ready for merging to master! X-Git-Tag: xonotic-v0.1.0preview~202^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1d9f4f5dcd44c727dd0ed8df7a70a5cea7197eb6;p=xonotic%2Fxonotic-data.pk3dir.git fix speed awards on the ladder, branch should now be ready for merging to master! --- diff --git a/qcsrc/server/miscfunctions.qc b/qcsrc/server/miscfunctions.qc index 40c513812..6f8b8e4fb 100644 --- a/qcsrc/server/miscfunctions.qc +++ b/qcsrc/server/miscfunctions.qc @@ -2295,8 +2295,10 @@ string getladder() for (i = 0; i <= LADDER_CNT; ++i) { // i = 0 because it is the speed award if(i == 0) // speed award { - if(stof(db_get(ServerProgsDB, strcat(MapInfo_Map_bspname, rr, "speed/speed"))) == 0); + print("^1Hit! ", db_get(ServerProgsDB, strcat(MapInfo_Map_bspname, rr, "speed/speed")), "\n"); + if(stof(db_get(ServerProgsDB, strcat(MapInfo_Map_bspname, rr, "speed/speed"))) == 0) continue; + print("^1Also hit after\n"); myuid = db_get(ServerProgsDB, strcat(MapInfo_Map_bspname, rr, "speed/crypto_idfp")); }