Fix skipped rounds import

This commit is contained in:
Claude Brisson
2024-03-10 13:58:51 +01:00
parent 7bb0016d63
commit 5e7abf7b4b
2 changed files with 2 additions and 2 deletions

View File

@@ -166,7 +166,7 @@ object OpenGotha {
final = "FIN" == player.registeringStatus,
mmsCorrection = player.smmsCorrection
).also {
player.participating.toString().forEachIndexed { i,c ->
player.participating.forEachIndexed { i,c ->
if (c == '0') it.skip.add(i + 1)
}
canonicMap.put("${player.name.replace(" ", "")}${player.firstName.replace(" ", "")}".uppercase(Locale.ENGLISH), it.id)

View File

@@ -14,7 +14,7 @@
<xs:attribute type="xs:string" name="firstName"/>
<xs:attribute type="xs:string" name="grade" use="optional"/>
<xs:attribute type="xs:string" name="name"/>
<xs:attribute type="xs:integer" name="participating"/>
<xs:attribute type="xs:string" name="participating"/>
<xs:attribute type="xs:string" name="rank" use="optional"/>
<xs:attribute type="xs:int" name="rating" use="optional"/>
<xs:attribute type="xs:string" name="ratingOrigin" use="optional"/>