Fix fish spawn amount to top at 3

This commit is contained in:
Stephen Seo 2019-10-06 20:57:35 +09:00
parent 5b218cdb6f
commit 8d8ee6dc7d

View file

@ -1312,7 +1312,7 @@ impl State for GameState {
));
} else {
// spawn fish
for i in 0..rng.gen_range(1, 3) {
for i in 0..rng.gen_range(1, 4) {
self.fishes.push(Fish::new(
self.mouse_pos,
rng.gen_range(0.0, 360.0),