Skip to content

Commit

Permalink
Fixed incorrect filename formatting for Patch Creator
Browse files Browse the repository at this point in the history
	modified:   Sonic-06-Mod-Manager/Properties/AssemblyInfo.cs
	modified:   Sonic-06-Mod-Manager/src/Environment3/PatchCreator.cs
	modified:   Sonic-06-Mod-Manager/src/UnifyProgram.cs
  • Loading branch information
HyperPolygon64 committed Apr 23, 2020
1 parent 2a7a340 commit a7b0175
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sonic-06-Mod-Manager/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
[assembly: ComVisible(false)]
[assembly: Guid("277111e3-79d8-41b5-b0d7-7609dff6e36f")]
[assembly: AssemblyVersion("2.0.0.6")]
[assembly: AssemblyFileVersion("3.2.2.0")]
[assembly: AssemblyFileVersion("3.2.3.0")]
2 changes: 1 addition & 1 deletion Sonic-06-Mod-Manager/src/Environment3/PatchCreator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public PatchCreator(string patch, bool edit)
private void btn_Create_Click(object sender, EventArgs e)
{
try {
string safeTitle = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(Literal.UseSafeFormattedCharacters(text_Title.Text));
string safeTitle = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(Literal.UseSafeFormattedCharacters(text_Title.Text)).Replace(" ", "");

if (File.Exists($"{Path.Combine(Program.Patches, safeTitle)}.mlua") && !edit)
UnifyMessenger.UnifyMessage.ShowDialog($"A patch called '{text_Title.Text}' already exists. Please rename your patch.",
Expand Down
2 changes: 1 addition & 1 deletion Sonic-06-Mod-Manager/src/UnifyProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace Unify.Environment3
{
static class Program
{
public static readonly string GlobalVersionNumber = "Version 3.22";
public static readonly string GlobalVersionNumber = "Version 3.23";

#if !DEBUG
public static readonly string VersionNumber = GlobalVersionNumber;
Expand Down

0 comments on commit a7b0175

Please sign in to comment.