]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/bot.qc
Cleanse the last of the server side mutator hooks
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / bot.qc
index ef08e308c0223767729e93005e2df70b36d83a55..cde59c6de13687387084eea936fc274cdd65611f 100644 (file)
@@ -557,8 +557,8 @@ float bot_fixcount()
        int activerealplayers = 0;
        int realplayers = 0;
        if (MUTATOR_CALLHOOK(Bot_FixCount, activerealplayers, realplayers)) {
-               activerealplayers = bot_activerealplayers;
-               realplayers = bot_realplayers;
+               activerealplayers = M_ARGV(0, int);
+               realplayers = M_ARGV(1, int);
        } else {
                FOREACH_CLIENT(IS_REAL_CLIENT(it), LAMBDA(
                        if(IS_PLAYER(it))