fix: auto update, esp snapline not changing color
This commit is contained in:
@@ -75,7 +75,7 @@ void DrawVisualsTab() {
|
|||||||
ImGui::OpenPopup("playersnpop");
|
ImGui::OpenPopup("playersnpop");
|
||||||
}
|
}
|
||||||
if (ImGui::BeginPopup("playersnpop")) {
|
if (ImGui::BeginPopup("playersnpop")) {
|
||||||
ImGui::ColorPicker4("Player snaplines color", (float*)&settings::flashlight_color);
|
ImGui::ColorPicker4("Player snaplines color", (float*)&settings::player_snaplines_color);
|
||||||
ImGui::EndPopup();
|
ImGui::EndPopup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -60,8 +60,9 @@ void VersionControl::CheckForUpdate()
|
|||||||
|
|
||||||
if (data.find("tag_name") != data.end() && data["tag_name"].is_string()) {
|
if (data.find("tag_name") != data.end() && data["tag_name"].is_string()) {
|
||||||
std::string latestTagName = data["tag_name"];
|
std::string latestTagName = data["tag_name"];
|
||||||
|
std::string latestName = data["name"];
|
||||||
|
|
||||||
if (strcmp(latestTagName.c_str(), current_version_tag) == 0) {
|
if (strcmp(latestTagName.c_str(), current_version_tag) == 0 || latestName.find("Auto") != std::string::npos) { //TOFIX
|
||||||
SetIsUpToDate(true);
|
SetIsUpToDate(true);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user