]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
remove hook from disconnecting players
authorRudolf Polzer <divverent@xonotic.org>
Wed, 12 Oct 2011 04:37:12 +0000 (06:37 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 12 Oct 2011 04:37:12 +0000 (06:37 +0200)
qcsrc/server/cl_client.qc

index f477f77e4d85665384c308587eac71df4811d8ec..f41503ab09c790131d48727a08a8af085aeca642 100644 (file)
@@ -1843,6 +1843,7 @@ void ClientDisconnect (void)
 
        Portal_ClearAll(self);
 
+       RemoveGrapplingHook(self);
        if(self.flagcarried)
                DropFlag(self.flagcarried, world, world);
        if(self.ballcarried && g_nexball)