forgot to actually initialize the accuracy tracking
authorRudolf Polzer <divVerent@xonotic.org>
Mon, 22 Nov 2010 15:41:59 +0000 (16:41 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 22 Nov 2010 15:41:59 +0000 (16:41 +0100)
qcsrc/server/cl_client.qc

index abbc8f2..7c1d6bd 100644 (file)
@@ -1500,6 +1500,7 @@ void ClientConnect (void)
 
        PlayerScore_Attach(self);
        ClientData_Attach();
+       accuracy_init();
 
        bot_clientconnect();
 
@@ -1778,6 +1779,7 @@ void ClientDisconnect (void)
                Spawnqueue_Remove(self);
        }
 
+       accuracy_free();
        ClientData_Detach();
        PlayerScore_Detach(self);