]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix bug causing a warning
authorRudolf Polzer <divverent@xonotic.org>
Sun, 12 Jun 2011 13:24:53 +0000 (15:24 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 12 Jun 2011 13:24:53 +0000 (15:24 +0200)
qcsrc/server/mutators/gamemode_keyhunt.qc

index a7374e49d39298f46e8387d96196fb83b417353f..85623f79d8a3a17518177b351f5f79aa788e205d 100644 (file)
@@ -1062,7 +1062,7 @@ MUTATOR_HOOKFUNCTION(kh_PlayerUseKey)
                k = self.kh_next;
                if(k)
                {
-                       kh_Key_DropOne(self, k);
+                       kh_Key_DropOne(k);
                        return 1;
                }
        }