summaryrefslogtreecommitdiff
path: root/scenes/microgames/fishin
diff options
context:
space:
mode:
authorJacob Janzen <jacob.a.s.janzen@gmail.com>2024-11-17 15:32:50 -0600
committerJacob Janzen <jacob.a.s.janzen@gmail.com>2024-11-17 15:32:50 -0600
commit67371be0130f40cd9108ea50a65092d390c7d305 (patch)
treee1b06d3eb674a826764a34626c790c9f563397cf /scenes/microgames/fishin
parent8a14702e10d576833ef6aa0f38df67660e945393 (diff)
fix for real this time
Diffstat (limited to 'scenes/microgames/fishin')
-rw-r--r--scenes/microgames/fishin/fishin.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/scenes/microgames/fishin/fishin.gd b/scenes/microgames/fishin/fishin.gd
index 511a449..c18686f 100644
--- a/scenes/microgames/fishin/fishin.gd
+++ b/scenes/microgames/fishin/fishin.gd
@@ -109,7 +109,7 @@ func _on_texture_button_button_up() -> void:
happy.visible = true
# show fish
- fish_choice = randi_range(0,len(fishes))
+ fish_choice = randi_range(0,len(fishes)-1)
match fish_choice:
FishType.GAR: