aboutsummaryrefslogtreecommitdiffstats
path: root/Main.gd
diff options
context:
space:
mode:
authorfreddie-a <57713959+freddie-a@users.noreply.github.com>2022-10-30 11:03:03 +0000
committerfreddie-a <57713959+freddie-a@users.noreply.github.com>2022-10-30 11:03:03 +0000
commitb9ef58fa7020379db3509c4c935886e4c436edd5 (patch)
treed4001ad5c8b9bed8353b3111db129891e356e5a3 /Main.gd
parent9ad53e5bf7c92d8cbb5f5cb3193d801d2716f131 (diff)
Remove start timer
Diffstat (limited to 'Main.gd')
-rw-r--r--Main.gd1
1 files changed, 0 insertions, 1 deletions
diff --git a/Main.gd b/Main.gd
index 2a38832..220a758 100644
--- a/Main.gd
+++ b/Main.gd
@@ -8,7 +8,6 @@ func _ready():
get_node("Player").connect("hit", get_node("HUD/HBoxContainer/HealthBar"), "_on_player_hit")
get_node("Player").connect("coin", get_node("HUD/HBoxContainer/CoinCount"), "_on_coin_hit")
get_node("Player").connect("coin", get_node("HUD/GameOver/GameOverCoinMessage/GameOverCoinCount"), "_on_coin_hit")
- yield(get_tree().create_timer(15.0), "timeout")
$EnemySpawnTimer.start()
func _on_EnemySpawnTimer_timeout():