Fix a foolish mistake
[voretournament/voretournament.git] / data / qcsrc / server / vore.qc
index ae7a55f27207965449f495499dab00b294856501..b3fd18fd7a71fdcfb8d38eb84566067b71656686 100644 (file)
@@ -157,7 +157,7 @@ void Vore_AutoDigest(entity e)
                FOR_EACH_PLAYER(head)\r
                {\r
                        // never begin automatic digestion if we've swallowed a team mate\r
-                       if(head.team == e.team)\r
+                       if(head.predator == e && head.team == e.team)\r
                                return;\r
                }\r
        }\r