From 6398c6db7c7b9fc32cb5e560dbf282f6e5446236 Mon Sep 17 00:00:00 2001 From: ALittlePatate <48603993+ALittlePatate@users.noreply.github.com> Date: Mon, 3 Oct 2022 14:16:22 +0200 Subject: [PATCH] fix: commented out print statements because that makes more function calls and floods the console with stuff, this lags the game a lot. For debugging we'll use the debugger instead of prints --- DevourClient/Features/Misc/Misc.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/DevourClient/Features/Misc/Misc.cpp b/DevourClient/Features/Misc/Misc.cpp index 660fcd3..f3f8c34 100644 --- a/DevourClient/Features/Misc/Misc.cpp +++ b/DevourClient/Features/Misc/Misc.cpp @@ -197,7 +197,8 @@ void Misc::CarryItem(const char* item) { NolanBehaviour->CallMethod("StartCarry", IL2CPP::String::New(setItemName)); } catch (...) { - print("Error!"); + return; + //print("Error!"); } } @@ -212,6 +213,6 @@ void Misc::PlayerSpeed(int speed) { } catch (...) { settings::change_player_speed = false; - print("[ERROR] speed error\n"); + //print("[ERROR] speed error\n"); } }