WaterMark fix missing "UID"

This commit is contained in:
MemesPwr 2022-06-28 20:12:21 +03:00 committed by GitHub
parent fc657f144c
commit 68b600c8ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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<app::Text*>(Components::WaterMark), string_to_il2cppi(f_UID), nullptr);
app::Text_set_text(reinterpret_cast<app::Text*>(Components::WaterMark), string_to_il2cppi(f_UID.value().value.empty() ? "" : std::string("UID: " + f_UID.value().value)), nullptr);
}
nextUpdate = currentTime + (int)f_DelayUpdate;