]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/vore.qc
Ugly workaround for a Keyhunt issue. Your team's key can still be given to you while...
[voretournament/voretournament.git] / data / qcsrc / server / vore.qc
index ac8d5b48d04d7687794a79cc62ba98436fd8ab7b..79eed0af29f938d4606959af94e82a142deb65e5 100644 (file)
@@ -649,4 +649,8 @@ void Vore()
                Vore_StomachLeave();\r
 \r
        Vore_CameraEffect_Apply();\r
+\r
+       // Ugly workaround for a Keyhunt issue. Your team's key can still be given to you while're in the stomach\r
+       // (at round start), which is pretty ugly and wrong. So attempt to drop keys each frame for prey\r
+       kh_Key_DropAll(self, FALSE);\r
 }
\ No newline at end of file