fix if let (#28)
This commit is contained in:
parent
d13df6ed12
commit
04c0077ddf
|
@ -229,7 +229,7 @@ impl Game {
|
||||||
|
|
||||||
self.update_state();
|
self.update_state();
|
||||||
|
|
||||||
if let GameState::Active = self.state {
|
if GameState::Active == self.state {
|
||||||
self.turn += 1;
|
self.turn += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue