fix: build errors

This commit is contained in:
ALittlePatate
2022-10-02 14:15:42 +02:00
parent 7ee310022e
commit be91a53cc3

View File

@@ -5,6 +5,7 @@ void Misc::SetRank(int rank) {
} }
void Misc::WalkInlobby(bool walk) { void Misc::WalkInlobby(bool walk) {
/*
if (!Players::LocalPlayer->GetComponent("UltimateCharacterLocomotionHandler")) { if (!Players::LocalPlayer->GetComponent("UltimateCharacterLocomotionHandler")) {
Unity::il2cppClass* Character = IL2CPP::Class::Find("Opsive.UltimateCharacterController.Character::UltimateCharacterLocomotionHandler"); Unity::il2cppClass* Character = IL2CPP::Class::Find("Opsive.UltimateCharacterController.Character::UltimateCharacterLocomotionHandler");
Unity::CGameObject* UltimateCharacterLocomotionHandler = Unity::CGameObject* UltimateCharacterLocomotionHandler =
@@ -14,4 +15,5 @@ void Misc::WalkInlobby(bool walk) {
Players::LocalPlayer->AddComponent(UltimateCharacterLocomotionHandler); Players::LocalPlayer->AddComponent(UltimateCharacterLocomotionHandler);
} }
*/
} }