]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix ready handling
authorRudolf Polzer <divVerent@xonotic.org>
Wed, 17 Aug 2011 19:58:27 +0000 (21:58 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Wed, 17 Aug 2011 19:58:27 +0000 (21:58 +0200)
qcsrc/server/cl_player.qc

index d322ef3cff944686d356239a6e32a56706f5867e..6d0ccb31aec266e0cc29ca555a05567a21ff8097 100644 (file)
@@ -43,6 +43,10 @@ void WeaponStats_ready(entity fh, entity pass, float status)
                        buf_del(weaponstats_buffer);
                        weaponstats_buffer = -1;
                        break;
+               case URL_READY_CANREAD:
+                       print("Got response from weapon stats server\n");
+                       url_fclose(fh, WeaponStats_ready, world);
+                       break;
                case URL_READY_CLOSED:
                        print("Weapon stats written\n");
                        break;