aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/Shiftorium.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-24 16:41:49 -0400
committerMichael <[email protected]>2017-05-24 16:41:49 -0400
commit8e345174ee0796084c542681208c57fa8f962f61 (patch)
tree81966b6a2e49994d6b1e1a23a86b2916c3fe832e /ShiftOS_TheReturn/Shiftorium.cs
parent9764bfd2aa55835246ebd2328bcdd436950f733e (diff)
downloadshiftos_thereturn-8e345174ee0796084c542681208c57fa8f962f61.tar.gz
shiftos_thereturn-8e345174ee0796084c542681208c57fa8f962f61.tar.bz2
shiftos_thereturn-8e345174ee0796084c542681208c57fa8f962f61.zip
Dramatically increase terminal performance.
Diffstat (limited to 'ShiftOS_TheReturn/Shiftorium.cs')
-rw-r--r--ShiftOS_TheReturn/Shiftorium.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/Shiftorium.cs b/ShiftOS_TheReturn/Shiftorium.cs
index fe436d4..0ac784e 100644
--- a/ShiftOS_TheReturn/Shiftorium.cs
+++ b/ShiftOS_TheReturn/Shiftorium.cs
@@ -312,6 +312,8 @@ namespace ShiftOS.Engine
/// <returns>Whether the upgrade is installed.</returns>
public static bool UpgradeInstalled(string id)
{
+ if (string.IsNullOrWhiteSpace(id))
+ return true;
if (SaveSystem.CurrentSave != null)
{
if (!IsInitiated)