fix if let (#28)

This commit is contained in:
Paul 2022-03-06 16:45:16 -05:00 committed by GitHub
parent d13df6ed12
commit 04c0077ddf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ impl Game {
self.update_state();
if let GameState::Active = self.state {
if GameState::Active == self.state {
self.turn += 1;
}