the-crypt/levels/Campaign/Credits/Timer.gd
2020-07-24 02:14:12 -05:00

9 lines
228 B
GDScript

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")