From f126069b5ffd9ddcc54d542ecbe91ef5c58b728c Mon Sep 17 00:00:00 2001 From: LambdaGaming Date: Thu, 10 Aug 2023 21:45:30 -0400 Subject: [PATCH] Fix compatibility issue for servers with sourcemod --- MainForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MainForm.cs b/MainForm.cs index b165d36..2b4bfe8 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -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 ) )