Skip to content

Commit

Permalink
Potential fix for sabers being sometime very small on first start aft…
Browse files Browse the repository at this point in the history
…er update to SaberTailor 2.0
  • Loading branch information
Shadnix-was-taken committed Sep 4, 2019
1 parent 0da4fdd commit babcf29
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ConfigUtilities/ConfigurationImporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ internal static void ImportSettingsFromModPrefs()
#pragma warning disable CS0618 // ModPrefs is obsolete

// Reset SaberLength to 100% to avoid confusion on first start considering this options hasn't worked in over half a year
Configuration.SaberLength = 100;
Configuration.SaberLengthCfg = 100;

Configuration.IsTrailEnabled = ModPrefs.GetBool(Plugin.PluginName, nameof(IsTrailEnabled), true, true);

Expand Down Expand Up @@ -75,7 +75,7 @@ internal static void ImportSettingsFromModPrefs()

// set default values for new config variables not present in old config files
Configuration.ConfigVersion = 1;
Configuration.SaberGirth = 100;
Configuration.SaberGirthCfg = 100;

// Save configuration in the new format
Configuration.Save();
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
[assembly: ComVisible(false)]
[assembly: Guid("a2d66447-9928-4292-9a82-87abbaa401ff")]

[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.0.0")]
[assembly: AssemblyVersion("2.0.1.0")]
[assembly: AssemblyFileVersion("2.0.1.0")]
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"icon": "SaberTailor.Resources.icon.png",
"id": "SaberTailor",
"name": "SaberTailor",
"version": "2.0.0",
"version": "2.0.1",
"dependsOn": {
"BSIPA": "^3.12.23",
"CustomUI": "^1.6.0",
Expand Down

0 comments on commit babcf29

Please sign in to comment.