diff options
| author | Michael <[email protected]> | 2017-02-13 13:12:51 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-02-13 13:12:58 -0500 |
| commit | d3a70b7a39bf1c73ff0463a8f06c82359a672bb0 (patch) | |
| tree | 9133ed712cafeec872ca5010bc4e1823726fcc5d /ShiftOS_TheReturn | |
| parent | 15cf720b7e0042f8e0fc30d23ac4c468a39a5a42 (diff) | |
| download | shiftos_thereturn-d3a70b7a39bf1c73ff0463a8f06c82359a672bb0.tar.gz shiftos_thereturn-d3a70b7a39bf1c73ff0463a8f06c82359a672bb0.tar.bz2 shiftos_thereturn-d3a70b7a39bf1c73ff0463a8f06c82359a672bb0.zip | |
Discord Integration client-side
Diffstat (limited to 'ShiftOS_TheReturn')
| -rw-r--r-- | ShiftOS_TheReturn/Shiftorium.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ShiftOS_TheReturn/Shiftorium.cs b/ShiftOS_TheReturn/Shiftorium.cs index 8350dc3..b91e421 100644 --- a/ShiftOS_TheReturn/Shiftorium.cs +++ b/ShiftOS_TheReturn/Shiftorium.cs @@ -136,7 +136,14 @@ namespace ShiftOS.Engine { if (!SaveSystem.CurrentSave.Upgrades.ContainsKey(itm.ID)) { - SaveSystem.CurrentSave.Upgrades.Add(itm.ID, false); + try + { + SaveSystem.CurrentSave.Upgrades.Add(itm.ID, false); + } + catch + { + + } } } } |
