forked from github/server
bug in alliance-scoring
This commit is contained in:
parent
2e1537cb2c
commit
72b8a79fc9
|
@ -289,7 +289,6 @@ score(void)
|
|||
alliance_factions++;
|
||||
alliance_score += f->score;
|
||||
alliance_number += f->number;
|
||||
}
|
||||
if (token!=NULL) {
|
||||
unit * u = f->units;
|
||||
while (u!=NULL) {
|
||||
|
@ -301,6 +300,7 @@ score(void)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fprintf(scoreFP, "%d:%d:%d:%d", a->id, alliance_factions, alliance_number, alliance_score);
|
||||
if (token!=NULL) fprintf(scoreFP, ":%d", grails);
|
||||
|
|
Loading…
Reference in New Issue