changelog

This commit is contained in:
ntr 2019-10-27 14:57:27 +11:00
parent d5764f0067
commit 45aad71939
2 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,6 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [1.6.5] - 2019-10-27
# Added
- Offering of draws

View File

@ -340,6 +340,13 @@ impl Instance {
pub fn finish(&mut self) -> &mut Instance {
self.phase = InstancePhase::Finished;
for player in self.players.iter() {
if player.score == Score::Win {
self.winner = Some(player.id);
}
}
self
}