aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/TitleScreen.cs
diff options
context:
space:
mode:
Diffstat (limited to 'TimeHACK.Main/TitleScreen.cs')
-rw-r--r--TimeHACK.Main/TitleScreen.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/TimeHACK.Main/TitleScreen.cs b/TimeHACK.Main/TitleScreen.cs
index ef14a73..194776c 100644
--- a/TimeHACK.Main/TitleScreen.cs
+++ b/TimeHACK.Main/TitleScreen.cs
@@ -47,6 +47,13 @@ namespace TimeHACK
{
InitializeComponent();
this.startmenu.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
+ if (!File.Exists(Path.Combine(DataDirectory, "o.k")))
+ {
+ SeizureWarning sw = new SeizureWarning();
+ sw.Size = programContent.Size;
+ programContent.Controls.Add(sw);
+ sw.BringToFront();
+ }
}
public void StartGame()