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,11 +348,14 @@ 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();
|
||||||
|
if (markersToUpload.Count > 0)
|
||||||
|
{
|
||||||
foreach (var marker in markersToUpload)
|
foreach (var marker in markersToUpload)
|
||||||
marker.UploadRequested = true;
|
marker.UploadRequested = true;
|
||||||
Task.Run(async () => await UploadMarkersForTerritory(LastTerritory, markersToUpload));
|
Task.Run(async () => await UploadMarkersForTerritory(LastTerritory, markersToUpload));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (recreateLayout)
|
if (recreateLayout)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user