correctly count field object count

This commit is contained in:
Mikhail Tyukin
2025-12-08 15:17:18 -05:00
parent 91cbedf46c
commit c96ad5fa94

View File

@@ -20,7 +20,7 @@ namespace EpinelPS.LobbyServer.Campaign
response.FieldObjectItemsNum.Add(new NetCampaignFieldObjectItemsNum()
{
MapId = map.Key,
Count = map.Value.CompletedObjects.Count
Count = map.Value.CompletedObjects.Where(x => x.Type == 1).Count()
});
}