diff options
Diffstat (limited to 'source/WindowsFormsApplication1/Apps/NetGen.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/Apps/NetGen.cs | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/source/WindowsFormsApplication1/Apps/NetGen.cs b/source/WindowsFormsApplication1/Apps/NetGen.cs index 679ad51..2c64971 100644 --- a/source/WindowsFormsApplication1/Apps/NetGen.cs +++ b/source/WindowsFormsApplication1/Apps/NetGen.cs @@ -13,10 +13,18 @@ namespace ShiftOS { public partial class NetGen : Form { - public NetGen() - { - InitializeComponent(); - } + public NetGen() + { + try + { + InitializeComponent(); + } + catch (Exception ex) + { + API.Crash(ex); + Close(); + } + } private EnemyHacker network = null; private int stage = 0; |
