Skip to content

Commit

Permalink
Switched HandleConfigs() private method of the FrmMainW class to List…
Browse files Browse the repository at this point in the history
…FPSConfigs() use.
  • Loading branch information
xvitaly committed Sep 6, 2024
1 parent 0e54fd0 commit c059513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/srcrepair/FrmMainW.cs
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ private void ShowVariableDescription(string Variable)
private void HandleConfigs()
{
if (!Directory.Exists(App.AppCfgDir)) { Directory.CreateDirectory(App.AppCfgDir); }
App.SourceGames[AppSelector.Text].FPSConfigs = FileManager.ExpandFileList(ConfigManager.ListFPSConfigs(App.SourceGames[AppSelector.Text].FullGamePath, App.SourceGames[AppSelector.Text].IsUsingUserDir), true);
App.SourceGames[AppSelector.Text].FPSConfigs = ConfigManager.ListFPSConfigs(App.SourceGames[AppSelector.Text].FullGamePath, App.SourceGames[AppSelector.Text].IsUsingUserDir);
GT_Warning.Visible = App.SourceGames[AppSelector.Text].FPSConfigs.Count > 0;
}

Expand Down

0 comments on commit c059513

Please sign in to comment.