diff --git a/Data/Scripts/050_AddOns/GeneralUtils.rb b/Data/Scripts/050_AddOns/GeneralUtils.rb index c7de4d3fd..68decaab5 100644 --- a/Data/Scripts/050_AddOns/GeneralUtils.rb +++ b/Data/Scripts/050_AddOns/GeneralUtils.rb @@ -576,7 +576,5 @@ def is_higher_version(gameVersion, latestVersion) return true if (latestVersion_parts[i].nil? || part > latestVersion_parts[i]) return false if part < latestVersion_parts[i] end - - # If all parts are equal up to this point, the longer version is considered higher - return latestVersion_parts.length < gameVersion_parts.length + return latestVersion_parts.length <= gameVersion_parts.length end diff --git a/Data/Scripts/050_AddOns/HttpCalls.rb b/Data/Scripts/050_AddOns/HttpCalls.rb index cad32cda5..b83c1d377 100644 --- a/Data/Scripts/050_AddOns/HttpCalls.rb +++ b/Data/Scripts/050_AddOns/HttpCalls.rb @@ -14,7 +14,6 @@ end def download_file(url, saveLocation) begin response = HTTPLite.get(url) - p response if response[:status] == 200 File.open(saveLocation, "wb") do |file| file.write(response[:body])