summaryrefslogtreecommitdiff
path: root/Scripts/StartMenu.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/StartMenu.cs')
-rw-r--r--Scripts/StartMenu.cs20
1 files changed, 9 insertions, 11 deletions
diff --git a/Scripts/StartMenu.cs b/Scripts/StartMenu.cs
index 8efa22d..70b84b2 100644
--- a/Scripts/StartMenu.cs
+++ b/Scripts/StartMenu.cs
@@ -8,14 +8,12 @@ namespace Texty.Scripts
public Button QuitButton;
public Button StartButton;
- public override void _Ready()
- {
- var buttons = FindNode("Buttons");
- CreditsButton = buttons.GetNode<Button>(nameof(CreditsButton));
- QuitButton = buttons.GetNode<Button>(nameof(QuitButton));
- StartButton = buttons.GetNode<Button>(nameof(StartButton));
- }
-
- }
-}
-
+ public override void _Ready()
+ {
+ var buttons = FindNode("Buttons");
+ CreditsButton = buttons.GetNode<Button>(nameof(CreditsButton));
+ QuitButton = buttons.GetNode<Button>(nameof(QuitButton));
+ StartButton = buttons.GetNode<Button>(nameof(StartButton));
+ }
+ }
+} \ No newline at end of file