Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
PazerOP committed Jun 16, 2020
1 parent 3a9c34b commit 47a29f9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.1.0)
project(tf2_bot_detector VERSION 1.0.0.10)
project(tf2_bot_detector VERSION 1.0.0.11)

set(JSON_BuildTests OFF)

Expand Down
7 changes: 6 additions & 1 deletion tf2_bot_detector/GithubAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,13 @@ static NewVersionResult GetLatestVersion()

for (auto release : GetAllReleases())
{
if (release.m_Version < VERSION)
DebugLog("GetLatestVersion(): version = "s << release.m_Version << ", url = " << release.m_URL);

if (release.m_Version <= VERSION)
{
DebugLog("GetLatestVersion(): break");
break;
}

if (release.m_Version.m_Preview != 0)
retVal.m_Preview = release;
Expand Down

0 comments on commit 47a29f9

Please sign in to comment.