mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-20 13:54:14 +01:00
fixed bug for FTP installations where OrangeBox was not detected
--HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40508
This commit is contained in:
parent
5c49d4c583
commit
ac218e65f2
Binary file not shown.
@ -187,7 +187,7 @@ begin
|
||||
eStr.Free;
|
||||
// check for orangebox directory
|
||||
Source := True;
|
||||
if (eStr.IndexOf('orangebox') <> -1) then begin
|
||||
if (AnsiSameText(ExtractFileName(trvDirectories.Selected.Text), 'tf')) then begin
|
||||
case MessageBox(Handle, 'It looks like your server is using the OrangeBox engine. Would you like to install the appropriate binaries for it?', PChar(Application.Title), MB_ICONQUESTION + MB_YESNOCANCEL) of
|
||||
mrYes: Source := False;
|
||||
mrNo: Source := True;
|
||||
|
Loading…
x
Reference in New Issue
Block a user