Skip to content

Commit

Permalink
Merge pull request #1665 from CitiesSkylinesMods/hotfix/11.7.1.1-patc…
Browse files Browse the repository at this point in the history
…h-installation-bug

Major bugfix - patch installation
  • Loading branch information
krzychu124 committed Oct 5, 2022
2 parents 308e104 + ee448e7 commit ec8a1d5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -29,6 +29,11 @@ This changelog includes all versions and major variants of the mod going all the

> Date format: dd/mm/yyyy
#### TM:PE V11.7.1.1 TEST, 05/10/2022

- [Fixed] Major bug in patch installation #1665 (krzychu124)
- [Steam] [TM:PE v11 TEST](https://steamcommunity.com/sharedfiles/filedetails/?id=2489276785)

#### TM:PE V11.7.1.0 TEST, 04/10/2022

- [New] Dead-end lane connections #1613, #1213 (kianzarrin)
Expand Down
2 changes: 1 addition & 1 deletion TLM/TLM/Lifecycle/Patcher.cs
Expand Up @@ -40,7 +40,7 @@ public static class Patcher {
Harmony.DEBUG = false; // set to true to get harmony debug info.
#endif
AssertCitiesHarmonyInstalled();
fail = !PatchAll(API.Harmony.HARMONY_ID, typeof(CustomPathFindPatchAttribute), typeof(PreloadPatchAttribute));
fail = !PatchAll(API.Harmony.HARMONY_ID, forbiddens: new [] {typeof(CustomPathFindPatchAttribute), typeof(PreloadPatchAttribute)});

if (fail) {
Log.Info("patcher failed");
Expand Down
6 changes: 6 additions & 0 deletions TLM/TLM/Resources/whats_new.txt
@@ -1,3 +1,9 @@
[Version] 11.7.1.1
[Released] Oct 5th 2022
[Link] tmpe-v11711-test-05102022
[Fixed] Major bug in the patch intallation #1665 (krzychu124)
[/Version]

[Version] 11.7.1.0
[Released] Oct 4th 2022
[Link] tmpe-v11710-test-04102022
Expand Down
2 changes: 1 addition & 1 deletion TLM/TLM/UI/WhatsNew/WhatsNew.cs
Expand Up @@ -11,7 +11,7 @@ namespace TrafficManager.UI.WhatsNew {

public class WhatsNew {
// bump and update what's new changelogs when new features added
public static readonly Version CurrentVersion = new Version(11,7,1,0);
public static readonly Version CurrentVersion = new Version(11,7,1,1);

private const string WHATS_NEW_FILE = "whats_new.txt";
private const string RESOURCES_PREFIX = "TrafficManager.Resources.";
Expand Down

0 comments on commit ec8a1d5

Please sign in to comment.