Update the_end.cs
This commit is contained in:
parent
f9c8935818
commit
49a78784f1
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user