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
This commit is contained in:
ALittlePatate
2022-10-03 14:16:22 +02:00
committed by GitHub
parent 6a75d288a5
commit 6398c6db7c

View File

@@ -197,7 +197,8 @@ void Misc::CarryItem(const char* item) {
NolanBehaviour->CallMethod<void*>("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");
}
}