diff --git a/EscapeTheBackroomsGUiTest/Settings.h b/EscapeTheBackroomsGUiTest/Settings.h index 9c03bb6..07d8c50 100644 --- a/EscapeTheBackroomsGUiTest/Settings.h +++ b/EscapeTheBackroomsGUiTest/Settings.h @@ -3,7 +3,7 @@ #include #include #include -#include "Config.h" +#include "Config/Config.h" namespace Backend { using EventHandler = std::function; @@ -393,7 +393,7 @@ namespace Settings { bool BringAllItems = false; // Noch nichts bool RevivePlayer = false;// Noch nichts bool NoCams = false; - bool HideWalls = false; + bool HideDoors = false; bool PlayerFly = false; bool PeacefullMode = false; bool Spawner_ = false; diff --git a/EscapeTheBackroomsGUiTest/dllmain.cpp b/EscapeTheBackroomsGUiTest/dllmain.cpp index 8037270..4dff47e 100644 --- a/EscapeTheBackroomsGUiTest/dllmain.cpp +++ b/EscapeTheBackroomsGUiTest/dllmain.cpp @@ -6,7 +6,7 @@ #include "Out/IncludeFile.h" #include "Cheat.h" -#include "Config.h" +#include "Config/Config.h" FILE* ConsoleFile = nullptr; @@ -381,13 +381,13 @@ void ProcessEventHook(SDK::UObject* Obj, SDK::UFunction* Function, void* Parms) std::wstring NewName = paramsServerChangeName->S.ToWString(); auto world = Cheat::Engine->GameViewport->World; - bool IsLocalHost = false; + bool IsLocalPlayer = false; if (auto LocalPlayer = world->OwningGameInstance->LocalPlayers[0]; LocalPlayer && LocalPlayer->PlayerController) { - IsLocalHost = (CallingController == LocalPlayer->PlayerController); + IsLocalPlayer = (CallingController == LocalPlayer->PlayerController); } - if (!IsLocalHost) { + if (!IsLocalPlayer) { for (size_t i = 0; i < PlayerNameChanges.size(); i++) { if (PlayerNameChanges[i].first == CallingController) { @@ -610,7 +610,7 @@ void MainRender(SDK::UObject* object, SDK::UCanvas* Canvas) { CWINGui::SliderFloat(L"Flyspeed (Boat & Player)", &Settings::PlayerFlySpeedY, 0.01f, 1000.0f); if (CWINGui::Button(L"Hide Doors", SDK::FVector2D{ 110, 35 })) { Settings::ActorEvent = true; - Settings::HideWalls = true; + Settings::HideDoors = true; } //if (CWINGui::Button(L"Force Admin", SDK::FVector2D{ 110, 35 })) { // Settings::ForceAdmin = true; @@ -1365,7 +1365,7 @@ void ExitCheat() { MH_Uninitialize(); - //Not Working! Fix else keep massive memory leak! + //Not Working! Fix else keep massive memory leak! (like 1.2kb which is okay i think) for (SDK::UTexture2D* texture : GifBackground->TextureArray) { //Mark Textures as Garbage then set to nullptr