the-crypt/levels/Campaign/Credits/Timer.gd

9 lines
228 B
GDScript3
Raw Normal View History

2020-07-24 02:14:12 -05:00
extends Timer
onready var DamageCD = $DamageCD
func _on_Timer_timeout():
if DamageCD.is_stopped():
Player.current_scene = "res://levels/Campaign/End/End.tscn"
get_tree().change_scene("res://levels/Campaign/End/End.tscn")