Skip to content

Commit

Permalink
Added missing 'else' keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
UserR00T committed Aug 5, 2019
1 parent 925c6f2 commit 7068542
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion UniversalUnityHooks/AssemblyHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ public void FetchAndLoadAll()
{
Program.Attributes.Add(kvp.Key, kvp.Value);
}
Program.Attributes[kvp.Key].AddRange(kvp.Value);
else
{
Program.Attributes[kvp.Key].AddRange(kvp.Value);
}
}
timer.Stop();
Program.Chalker.WriteSuccess($"Loaded in assembly and {filteredAttributes.Sum(x=>x.Value.Count)} attribute(s) in {timer.GetElapsedMs}ms\r\n");
Expand Down
4 changes: 2 additions & 2 deletions UniversalUnityHooks/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("159d4d35-e53d-46df-9cb5-9f43fdea438f")]
[assembly: AssemblyVersion("2.1.2.0")]
[assembly: AssemblyFileVersion("2.1.2.0")]
[assembly: AssemblyVersion("2.1.3.0")]
[assembly: AssemblyFileVersion("2.1.3.0")]

0 comments on commit 7068542

Please sign in to comment.