diff options
Diffstat (limited to 'ShiftOS_TheReturn/Shiftorium.cs')
| -rw-r--r-- | ShiftOS_TheReturn/Shiftorium.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ShiftOS_TheReturn/Shiftorium.cs b/ShiftOS_TheReturn/Shiftorium.cs index 1b09818..06a189f 100644 --- a/ShiftOS_TheReturn/Shiftorium.cs +++ b/ShiftOS_TheReturn/Shiftorium.cs @@ -122,11 +122,14 @@ namespace ShiftOS.Engine return true; } + public static bool IsInitiated { get; private set; } public static void Init() { - try + if (IsInitiated == false) { + IsInitiated = true; + //Let the crash handler deal with this one... var dict = GetDefaults(); foreach (var itm in dict) { @@ -136,9 +139,7 @@ namespace ShiftOS.Engine } } } - catch - { - } + } public static int GetCPValue(string id) |
