From 39eb0102f9cf5e06c524b6317b18eb7cca8437b4 Mon Sep 17 00:00:00 2001 From: nullifiedcat Date: Tue, 2 Jan 2018 08:32:38 +0300 Subject: [PATCH] fix lte checks --- src/hacks/CatBot.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hacks/CatBot.cpp b/src/hacks/CatBot.cpp index bc11628b..9308cb24 100644 --- a/src/hacks/CatBot.cpp +++ b/src/hacks/CatBot.cpp @@ -215,16 +215,16 @@ void update() { if (count_total - count_bots <= int(abandon_if_humans_lte)) { - logging::Info("Abandoning because there are %d non-bots in game, and abandon_if_humans_lte is %d.", count_total - count_bots, int(abandon_if_ipc_bots_gte)); + logging::Info("Abandoning because there are %d non-bots in game, and abandon_if_humans_lte is %d.", count_total - count_bots, int(abandon_if_humans_lte)); tfmm::abandon(); return; } } if (abandon_if_players_lte) { - if (count_total <= int(abandon_if_humans_lte)) + if (count_total <= int(abandon_if_players_lte)) { - logging::Info("Abandoning because there are %d total players in game, and abandon_if_humans_lte is %d.", count_total, int(abandon_if_humans_lte)); + logging::Info("Abandoning because there are %d total players in game, and abandon_if_players_lte is %d.", count_total, int(abandon_if_players_lte)); tfmm::abandon(); return; }