Skip to content

Commit

Permalink
Fix for weird issue when resetting game directory post launch w/ steam
Browse files Browse the repository at this point in the history
  • Loading branch information
Dyvinia committed Oct 27, 2022
1 parent cdf30a5 commit 4e22708
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions DatapathFixPlugin/Actions/LaunchExecutionAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,6 @@ public class LaunchExecutionAction : ExecutionAction

public override Action<ILogger, PluginManagerType, CancellationToken> PostLaunchAction => new Action<ILogger, PluginManagerType, CancellationToken>((ILogger logger, PluginManagerType type, CancellationToken cancelToken) =>
{
if (Config.Get("DatapathFixEnabled", true) && File.Exists(DatapathFix))
{
logger.Log("Waiting For Game");
Thread.Sleep(4000);
WaitForProcess(Game);
ResetGameDirectory();
}
if (Config.Get("DatapathFixUpdateCheck", true) && CheckUpdates().Result)
{
Task.Run(() =>
Expand Down

0 comments on commit 4e22708

Please sign in to comment.