unnecessary if let (#25)
This commit is contained in:
parent
9b36e8f1d8
commit
344f303789
|
@ -88,7 +88,7 @@ impl Game {
|
|||
|
||||
self.update_state();
|
||||
|
||||
if let GameState::Active = self.state {
|
||||
if GameState::Active == self.state {
|
||||
self.turn += 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue