Refactor bee gather state and update game state

Removed unused code in the bee gathering function, enhancing readability. Also added a new boolean variable 'spawn_snails' in the game state reset function to control snail spawning.
This commit is contained in:
Dan Baker 2024-05-14 18:47:28 +01:00
parent 908f834181
commit 513b0c92a7
2 changed files with 1 additions and 9 deletions

View file

@ -90,6 +90,7 @@ func reset():
gathered_nectar = 0
drones_used = 0
dead_bees = 0
spawn_snails = false
func reset_cursor():
Input.set_custom_mouse_cursor(default_cursor, Input.CURSOR_ARROW, Vector2(8, 8))