Browse Source

Update C# code in your_first_game.rst

Nick Rodgers 5 years ago
parent
commit
5f21fea94f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      getting_started/step_by_step/your_first_game.rst

+ 1 - 0
getting_started/step_by_step/your_first_game.rst

@@ -1095,6 +1095,7 @@ temporarily, such as "Get Ready".
         message.Text = "Dodge the\nCreeps!";
         message.Text = "Dodge the\nCreeps!";
         message.Show();
         message.Show();
 
 
+        await ToSignal(GetTree().CreateTimer(1), "timeout");
         GetNode<Button>("StartButton").Show();
         GetNode<Button>("StartButton").Show();
     }
     }