From: Stephen Seo Date: Sun, 6 Oct 2019 11:57:35 +0000 (+0900) Subject: Fix fish spawn amount to top at 3 X-Git-Url: https://git.seodisparate.com/stephenseo/client.js?a=commitdiff_plain;h=8d8ee6dc7dff5e60f2135f10cb13c725e20e1473;p=LudumDare45_StartWithNothing Fix fish spawn amount to top at 3 --- diff --git a/src/main.rs b/src/main.rs index 3553f77..7be6cad 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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),