Skip to content

Commit

Permalink
Fix one more bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Tudi20 committed Aug 31, 2019
1 parent a38dbd1 commit 014826e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions Universal THCRAP Launcher/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1523,13 +1523,8 @@ private void AddFavorite(ListBox lb)

if (!lb.Equals(patchListBox)) return;
{
string s = lb.SelectedItem.ToString();
string s = lb.SelectedItem.ToString().Replace("★", "").Trim();
if (Configuration1.ShowVanilla && lb.SelectedIndex == 0) s = @"VANILLA";
if (Configuration1.HidePatchExtension)
{
if (_jsFiles.Contains(s)) s += ".js";
if (_thcrapFiles.Contains(s)) s += ".thcrap";
}
Favourites1.Patches.Remove(s);
PopulatePatchList();
}
Expand Down
2 changes: 1 addition & 1 deletion Universal THCRAP Launcher/Resources/BuildDate.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
2019. 08. 31. 11:35:03,92
2019. 08. 31. 11:42:59,74
Central Europe Standard Time

0 comments on commit 014826e

Please sign in to comment.