From 68b600c8ce7913fb6ea75d47156955ad1774f54c Mon Sep 17 00:00:00 2001 From: MemesPwr <47759467+MemesPwr@users.noreply.github.com> Date: Tue, 28 Jun 2022 20:12:21 +0300 Subject: [PATCH] WaterMark fix missing "UID" --- cheat-library/src/user/cheat/visuals/ProfileChanger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheat-library/src/user/cheat/visuals/ProfileChanger.cpp b/cheat-library/src/user/cheat/visuals/ProfileChanger.cpp index a1ece9a..3c03c31 100644 --- a/cheat-library/src/user/cheat/visuals/ProfileChanger.cpp +++ b/cheat-library/src/user/cheat/visuals/ProfileChanger.cpp @@ -113,7 +113,7 @@ namespace cheat::feature Components::WaterMark = app::GameObject_GetComponentByName(GameObject::WaterMark, string_to_il2cppi("Text"), nullptr); if (Components::WaterMark != nullptr) - app::Text_set_text(reinterpret_cast(Components::WaterMark), string_to_il2cppi(f_UID), nullptr); + app::Text_set_text(reinterpret_cast(Components::WaterMark), string_to_il2cppi(f_UID.value().value.empty() ? "" : std::string("UID: " + f_UID.value().value)), nullptr); } nextUpdate = currentTime + (int)f_DelayUpdate;