Skip to content

Commit

Permalink
0.8.0.1 hotfix - add workaround for late invocations of CustomDeseria…
Browse files Browse the repository at this point in the history
…lizer.Asset getter.
  • Loading branch information
algernon-A committed Nov 8, 2022
1 parent b338045 commit f8e65c3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
Version 0.8 -
Verion 0.8.0.1 hotfix -

- Implement workaround for unexpected CSUR Toolbox behaviour


Version 0.8 -

- Refactor skipping code (preparation for adding new skipping types)
- Replace now-redundant Harmony reverse patches with delegates
Expand Down
6 changes: 6 additions & 0 deletions Code/Loading/CustomDeserializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,12 @@ internal static Package.Asset[] Assets
{
get
{
// Ensure instance.
if (s_instance == null)
{
s_instance = new CustomDeserializer();
}

// Create new list if it hasn't already been done.
if (s_instance._assets == null)
{
Expand Down
2 changes: 1 addition & 1 deletion LoadingScreenModRevisited.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Authors>algernon,thale5</Authors>
<Copyright>Copyright © 2016-2022 algernon, thale5</Copyright>
<Product>$(Title)</Product>
<Version>0.8</Version>
<Version>0.8.0.1</Version>
<ManagedDLLPath>$(MSBuildProgramFiles32)/Steam/steamapps/common/Cities_Skylines/Cities_Data/Managed</ManagedDLLPath>
<AssemblySearchPaths>
$(AssemblySearchPaths);
Expand Down

0 comments on commit f8e65c3

Please sign in to comment.