aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-02-13 13:12:51 -0500
committerMichael <[email protected]>2017-02-13 13:12:58 -0500
commitd3a70b7a39bf1c73ff0463a8f06c82359a672bb0 (patch)
tree9133ed712cafeec872ca5010bc4e1823726fcc5d /ShiftOS_TheReturn
parent15cf720b7e0042f8e0fc30d23ac4c468a39a5a42 (diff)
downloadshiftos_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.cs9
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
+ {
+
+ }
}
}
}