aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/TitleScreen.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-07-28 15:21:46 -0400
committerlempamo <[email protected]>2017-07-28 15:21:46 -0400
commit717f7caf678aeb08bc2d621988b771cc1ebd6070 (patch)
tree177212c65f2a90748c80beb8983070ddaae4d04d /TimeHACK.Main/TitleScreen.cs
parent9205136293b7bc77e570baaffdf0836c3aeef2aa (diff)
downloadhistacom2-717f7caf678aeb08bc2d621988b771cc1ebd6070.tar.gz
histacom2-717f7caf678aeb08bc2d621988b771cc1ebd6070.tar.bz2
histacom2-717f7caf678aeb08bc2d621988b771cc1ebd6070.zip
added seizure warning
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()