Skip to content

Commit d16ac3a

Browse files
committed
fix incorrect path for x86
1 parent 6aa0a44 commit d16ac3a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

GmodInterop.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,13 @@ internal static bool TryGetGmodPath(out string gmodPath, bool toBin = true)
165165
{
166166
gmodPath = isX64
167167
? Path.Combine(gmodPathDir, "bin/win64/gmod.exe")
168-
: Path.Combine(gmodPathDir, "bin/gmod.exe");
168+
: Path.Combine(gmodPathDir, "gmod.exe");
169169
}
170170
else
171171
{
172172
// get x64 bin path in priority
173173
string gmodPathX64 = Path.Combine(gmodPathDir, "bin/win64/gmod.exe");
174-
string gmodPathX86 = Path.Combine(gmodPathDir, "bin/gmod.exe");
174+
string gmodPathX86 = Path.Combine(gmodPathDir, "gmod.exe");
175175
if (File.Exists(gmodPathX64))
176176
gmodPath = gmodPathX64;
177177
else if (File.Exists(gmodPathX86))

0 commit comments

Comments
 (0)