Fix mmsCorrection import/export
This commit is contained in:
@@ -146,7 +146,8 @@ object OpenGotha {
|
|||||||
rank = Pairable.parseRank(player.rank),
|
rank = Pairable.parseRank(player.rank),
|
||||||
country = player.country,
|
country = player.country,
|
||||||
club = player.club,
|
club = player.club,
|
||||||
final = "FIN" == player.registeringStatus
|
final = "FIN" == player.registeringStatus,
|
||||||
|
mmsCorrection = player.smmsCorrection
|
||||||
).also {
|
).also {
|
||||||
player.participating.toString().forEachIndexed { i,c ->
|
player.participating.toString().forEachIndexed { i,c ->
|
||||||
if (c == '0') it.skip.add(i + 1)
|
if (c == '0') it.skip.add(i + 1)
|
||||||
@@ -218,7 +219,9 @@ object OpenGotha {
|
|||||||
player.rating
|
player.rating
|
||||||
}" ratingOrigin="" registeringStatus="${
|
}" ratingOrigin="" registeringStatus="${
|
||||||
if (player.final) "FIN" else "PRE"
|
if (player.final) "FIN" else "PRE"
|
||||||
}" smmsCorrection="0"/>"""
|
}" smmsCorrection="${
|
||||||
|
player.mmsCorrection
|
||||||
|
}"/>"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</Players>
|
</Players>
|
||||||
|
Reference in New Issue
Block a user