mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-08 10:58:31 +00: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;
|
eStr.Free;
|
||||||
// check for orangebox directory
|
// check for orangebox directory
|
||||||
Source := True;
|
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
|
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;
|
mrYes: Source := False;
|
||||||
mrNo: Source := True;
|
mrNo: Source := True;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user