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:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user