0
0
mirror of https://github.com/sp-tarkov/assembly-tool.git synced 2025-02-12 17:10:45 -05:00

Move WAIT_FOR_DEBUGGER to the top in AutoMatcher.cs

This commit is contained in:
Cj 2025-01-10 04:20:32 -05:00
parent 7ff1591674
commit 7f4b8ba0e5

View File

@ -29,10 +29,6 @@ public class AutoMatchCommand : ICommand
public ValueTask ExecuteAsync(IConsole console)
{
Logger.LogSync("Finding match...");
var remaps = new List<RemapModel>();
#if WAIT_FOR_DEBUGGER
Logger.LogSync("Waiting for debugger...");
while (!Debugger.IsAttached)
@ -41,6 +37,10 @@ public class AutoMatchCommand : ICommand
}
#endif
Logger.LogSync("Finding match...");
var remaps = new List<RemapModel>();
if (!string.IsNullOrEmpty(MappingsPath))
{
Logger.LogSync("Loaded mapping file", ConsoleColor.Green);