Fix feedback loop
This commit is contained in:
parent
c2bf2ddc43
commit
5e311a4015
@ -3,7 +3,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net6.0-windows</TargetFramework>
|
<TargetFramework>net6.0-windows</TargetFramework>
|
||||||
<LangVersion>9.0</LangVersion>
|
<LangVersion>9.0</LangVersion>
|
||||||
<Version>1.12.0.0</Version>
|
<Version>1.13.0.0</Version>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
@ -348,9 +348,12 @@ namespace Pal.Client
|
|||||||
if (TerritorySyncState == SyncState.Complete)
|
if (TerritorySyncState == SyncState.Complete)
|
||||||
{
|
{
|
||||||
var markersToUpload = currentFloorMarkers.Where(x => x.IsPermanent() && x.NetworkId == null && !x.UploadRequested).ToList();
|
var markersToUpload = currentFloorMarkers.Where(x => x.IsPermanent() && x.NetworkId == null && !x.UploadRequested).ToList();
|
||||||
foreach (var marker in markersToUpload)
|
if (markersToUpload.Count > 0)
|
||||||
marker.UploadRequested = true;
|
{
|
||||||
Task.Run(async () => await UploadMarkersForTerritory(LastTerritory, markersToUpload));
|
foreach (var marker in markersToUpload)
|
||||||
|
marker.UploadRequested = true;
|
||||||
|
Task.Run(async () => await UploadMarkersForTerritory(LastTerritory, markersToUpload));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user