Update the_end.cs

This commit is contained in:
MarcEricMartel 2023-06-11 17:39:14 -04:00
parent f9c8935818
commit 49a78784f1

View File

@ -18,7 +18,7 @@ public partial class the_end : Control
private void Tick() { private void Tick() {
if (_tock == 0) if (_tock == 0)
_lbl.Set("visible", true); _lbl.Set("visible", true);
if (_tock == 4) { if (_tock == 3) {
var scene = GD.Load<PackedScene>("res://menu/start_game_menu.tscn"); var scene = GD.Load<PackedScene>("res://menu/start_game_menu.tscn");
var instance = scene.Instantiate(); var instance = scene.Instantiate();
GetNode<Node>("/root/").AddChild(instance); GetNode<Node>("/root/").AddChild(instance);