]> git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/vore.qc
Disable automatic digestion in RPG, and also trigger it if our stomach is already...
[voretournament/voretournament.git] / data / qcsrc / server / vore.qc
index b88e2802d1d5724ec84fe6e2f1f8a50a4011507b..837a5210d61920c605e7cffdc8f745f1b9209a0e 100644 (file)
@@ -157,10 +157,10 @@ void Vore_AutoDigest(entity e)
 \r
        if(!cvar("g_vore_digestion") || e.digesting)\r
                return;\r
+       if(g_rpg)\r
+               return; // RPG is choice based, so don't do things automatically there\r
        if(clienttype(e) != CLIENTTYPE_REAL)\r
                return; // this feature is only for players, not bots\r
-       if(e.stomach_load)\r
-               return; // don't start digestion if we already ate someone, as that means we manually disabled it after the first prey and want it off\r
        if(Stomach_TeamMates_check(e))\r
                return; // never begin automatic digestion if we've swallowed a team mate\r
 \r