mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-07 10:28:30 +00:00
again OrangeBox compatibility, now only shows minutes and seconds in install progress, fixed bug where Done. was displayed twice in the log
--HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40523
This commit is contained in:
parent
9e96503b30
commit
e620cd5af4
Binary file not shown.
@ -32,7 +32,7 @@ uses UnitfrmMain, UnitfrmProxy, UnitFunctions, UnitPackSystem;
|
|||||||
|
|
||||||
function InstallTime: String;
|
function InstallTime: String;
|
||||||
begin
|
begin
|
||||||
Result := FormatDateTime('HH:MM:SS', Now - StartTime);
|
Result := Copy(FormatDateTime('HH:MM:SS', Now - StartTime), 4, 5);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure AddStatus(Text: String; Color: TColor; ShowTime: Boolean = True);
|
procedure AddStatus(Text: String; Color: TColor; ShowTime: Boolean = True);
|
||||||
@ -320,7 +320,6 @@ begin
|
|||||||
for i := 0 to eStr.Count -1 do begin
|
for i := 0 to eStr.Count -1 do begin
|
||||||
if Trim(eStr[i]) = 'SearchPaths' then begin
|
if Trim(eStr[i]) = 'SearchPaths' then begin
|
||||||
eStr.Insert(i +2, ' GameBin |gameinfo_path|addons/metamod/bin');
|
eStr.Insert(i +2, ' GameBin |gameinfo_path|addons/metamod/bin');
|
||||||
AddDone;
|
|
||||||
break;
|
break;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
@ -365,7 +364,7 @@ begin
|
|||||||
Screen.Cursor := crDefault;
|
Screen.Cursor := crDefault;
|
||||||
|
|
||||||
if ListenInstall then
|
if ListenInstall then
|
||||||
MessageBox(frmMain.Handle, PChar('hl2launch.exe has been copied to ' + ePath + '. You can use it if you want to start your Source game with Metamod:Source enabled.'), PChar(Application.Title), MB_ICONINFORMATION);
|
MessageBox(frmMain.Handle, PChar('The Source launcher "hl2launch.exe" has been copied to ' + ePath + '. You can use it to start your game with Metamod:Source enabled.'), PChar(Application.Title), MB_ICONINFORMATION);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ Dedicated Server }
|
{ Dedicated Server }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user