mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 02:23:01 +08:00
fix: 这次绝对没问题了
This commit is contained in:
@@ -538,7 +538,7 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
{
|
||||
var isInChina = urls[i].Contains("s3.maa-org.net") || urls[i].Contains("maa-ota.annangela.cn");
|
||||
|
||||
if (latencies[i].Equals(-1.0))
|
||||
if (latencies[i] < 0)
|
||||
{
|
||||
_logger.Warning("\turl: {CDNUrl} not available", urls[i]);
|
||||
continue;
|
||||
@@ -558,7 +558,7 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
}
|
||||
}
|
||||
|
||||
if (latencies[selected].Equals(-1.0))
|
||||
if (latencies[selected] < 0)
|
||||
{
|
||||
_logger.Error("All mirrors are not available");
|
||||
return CheckUpdateRetT.NetworkError;
|
||||
|
||||
Reference in New Issue
Block a user