From 321ddfc66a0a366efa64506c0c33316ca57f251d Mon Sep 17 00:00:00 2001 From: Carver Harrison Date: Sun, 24 Jul 2016 14:56:02 -0700 Subject: HOLY **** THATS A LOT OFF ADDIITIONS --- source/WindowsFormsApplication1/Apps/NetGen.cs | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'source/WindowsFormsApplication1/Apps/NetGen.cs') 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; -- cgit v1.2.3