From 056de770a8d6b702e242540aadbbd1ed85627248 Mon Sep 17 00:00:00 2001 From: Cj <161484149+CJ-SPT@users.noreply.github.com> Date: Mon, 16 Jun 2025 00:55:02 -0400 Subject: [PATCH] check both sptLogger.json and sptLogger.Development.json when checking for the correct directory --- SPTarkov.Server/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPTarkov.Server/Program.cs b/SPTarkov.Server/Program.cs index 640e58cc..019d033c 100644 --- a/SPTarkov.Server/Program.cs +++ b/SPTarkov.Server/Program.cs @@ -168,7 +168,7 @@ public static class Program var dirFiles = Directory.GetFiles(Directory.GetCurrentDirectory()); // This file is guaranteed to exist if ran from the correct location, even if the game does not exist here. - return dirFiles.Any(dirFile => dirFile.EndsWith("sptLogger.json")); + return dirFiles.Any(dirFile => dirFile.EndsWith("sptLogger.json") || dirFile.EndsWith("sptLogger.Development.json")); } [DllImport("kernel32.dll", SetLastError = true)]