This commit is contained in:
HeshamTB 2020-12-06 23:03:06 +03:00
parent 20296571fc
commit 6720b412e6
Signed by: Hesham
GPG Key ID: 74876157D199B09E

View File

@ -633,7 +633,7 @@ public class MakkahCity {
private static int getPercentArrival(District district) {
int sum = 0;
for (Campaign campaign : campPerDistrict[district.ordinal()]) {
sum += campaign.getNumberOfArrivedBuses();
sum += campaign.getPercentArrived();
}
return sum/campPerDistrict[district.ordinal()].size();
}