Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 4e22708

Browse files
committed
Fix for weird issue when resetting game directory post launch w/ steam
1 parent cdf30a5 commit 4e22708

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

DatapathFixPlugin/Actions/LaunchExecutionAction.cs

-9
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,6 @@ public class LaunchExecutionAction : ExecutionAction
5656

5757
public override Action<ILogger, PluginManagerType, CancellationToken> PostLaunchAction => new Action<ILogger, PluginManagerType, CancellationToken>((ILogger logger, PluginManagerType type, CancellationToken cancelToken) =>
5858
{
59-
if (Config.Get("DatapathFixEnabled", true) && File.Exists(DatapathFix))
60-
{
61-
logger.Log("Waiting For Game");
62-
Thread.Sleep(4000);
63-
WaitForProcess(Game);
64-
65-
ResetGameDirectory();
66-
}
67-
6859
if (Config.Get("DatapathFixUpdateCheck", true) && CheckUpdates().Result)
6960
{
7061
Task.Run(() =>

0 commit comments

Comments
 (0)