Skip to content

Commit

Permalink
Fix compatibility issue for servers with sourcemod
Browse files Browse the repository at this point in the history
  • Loading branch information
LambdaGaming committed Aug 11, 2023
1 parent 889c671 commit f126069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private void UpdateLists()
}
IsGmodOrSbox = true;
}
else if ( Directory.Exists( Settings.GamePath + @"\addons" ) )
else if ( Path.GetFileName( Settings.ExePath ) == "sbox-server.exe" )
{
// Insert placeholder for s&box
if ( string.IsNullOrWhiteSpace( gameselect.Text ) )
Expand Down

0 comments on commit f126069

Please sign in to comment.