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:
parent
908f834181
commit
513b0c92a7
2 changed files with 1 additions and 9 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue