correct pass_day method name

This commit is contained in:
2025-08-20 10:34:39 +02:00
parent 3021567ecb
commit 352c49cefa
4 changed files with 16 additions and 28 deletions

View File

@@ -45,7 +45,8 @@ func generate_collision_shape() -> CollisionShape2D:
return collision
func pass_day():
# Méthode déclenchée par la classe planet
func _pass_day():
await get_tree().create_timer(randf_range(0., RANDOM_MAX_GROW_INTERVAL)).timeout
day += 1