Skip to content

Commit

Permalink
📦 Merge pull request #3 from CarterGames/2.1.7
Browse files Browse the repository at this point in the history
📦 2.1.7 Release
  • Loading branch information
JonathanMCarter authored May 11, 2024
2 parents 20f696c + daa44d8 commit 68b4cde
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ private void DrawSaveObjects()

foreach (var saveObject in saveObjectsInCategory)
{
if (saveObject.GetType().FullName == DemoSaveObjectFullName)
continue;
if (saveObject.GetType().FullName == DemoSaveObjectFullName) continue;
DrawSaveObjectEditor(saveObject);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static class AssetVersionData
/// <summary>
/// The version number of the asset.
/// </summary>
public static string VersionNumber => "2.1.6";
public static string VersionNumber => "2.1.7";


/// <summary>
Expand All @@ -40,6 +40,6 @@ public static class AssetVersionData
/// <remarks>
/// Asset owner is in the UK, so its D/M/Y format.
/// </remarks>
public static string ReleaseDate => "07/05/2024";
public static string ReleaseDate => "11/05/2024";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ public virtual void Load()

foreach (var t in saveValues)
{
if (t == null) continue;
if (!t.GetType().IsSubclassOf(typeof(SaveValueBase))) continue;
var sv = (SaveValueBase)t;
if (!data.ContainsKey(sv.key)) continue;
Expand Down Expand Up @@ -168,6 +169,7 @@ public virtual SerializableDictionary<string, SaveValueBase> GetSaveValues()

for (var i = 0; i < saveValues.Length; i++)
{
if (saveValues[i] == null) continue;
if (!saveValues[i].GetType().IsSubclassOf(typeof(SaveValueBase))) continue;
var sv = (SaveValueBase) saveValues[i];
dic.Add(sv.key, sv);
Expand Down

0 comments on commit 68b4cde

Please sign in to comment.