make the winning not backwards
oops
This commit is contained in:
parent
73d06f1533
commit
b1994c2764
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ impl Game {
|
|||
continue;
|
||||
};
|
||||
let here = self.at(x, y).unwrap();
|
||||
let won = rng.random::<f32>() >= here.win_chance(other);
|
||||
let won = rng.random::<f32>() <= here.win_chance(other);
|
||||
if won {
|
||||
next.set(ox, oy, here);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue