Fixed esf
This commit is contained in:
parent
8f61073f43
commit
5be9ba4a68
@ -385,7 +385,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
modESF: begin
|
||||
if Pos('esforce', DirList[i]) = 1 then begin
|
||||
if Pos('esf', DirList[i]) = 1 then begin
|
||||
MakeDir(ePath + 'addons\amxmodx\' + Copy(DirList[i], 4, Length(DirList[i])));
|
||||
AddStatus('Created directory: addons\amxmodx\' + Copy(DirList[i], 4, Length(DirList[i])), clBlack);
|
||||
end;
|
||||
@ -440,7 +440,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
modESF: begin
|
||||
if Pos('esforce', FileList[i]) = 1 then begin
|
||||
if Pos('esf', FileList[i]) = 1 then begin
|
||||
FileCopy(ExtractFilePath(ParamStr(0)) + 'files\' + FileList[i], ePath + 'addons\amxmodx\' + Copy(FileList[i], 4, Length(FileList[i])), CopyConfig);
|
||||
AddStatus('Copied file: addons\amxmodx\' + Copy(FileList[i], 4, Length(FileList[i])), clBlack);
|
||||
end;
|
||||
|
@ -242,7 +242,7 @@ initialization
|
||||
eModsPath.Add('wizwars');
|
||||
eModsPath.Add('wormshl');
|
||||
eModsPath.Add('zp');
|
||||
eModsPath.Add('esforce');
|
||||
eModsPath.Add('esf');
|
||||
|
||||
finalization
|
||||
|
||||
|
@ -258,7 +258,7 @@ begin
|
||||
if MessageBox(Handle, 'Install The Specialists addon?', PChar(Application.Title), MB_ICONQUESTION + MB_YESNO) = mrYes then
|
||||
ChosenMod := modTS;
|
||||
end;
|
||||
if ePath = 'esforce' then begin
|
||||
if ePath = 'esf' then begin
|
||||
if MessageBox(Handle, 'Install Earth''s Special Forces addon?', PChar(Application.Title), MB_ICONQUESTION + MB_YESNO) = mrYes then
|
||||
ChosenMod := modESF;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user