diff --git a/installer/installer/UnitInstall.pas b/installer/installer/UnitInstall.pas index 601c2e1c..1f120453 100755 --- a/installer/installer/UnitInstall.pas +++ b/installer/installer/UnitInstall.pas @@ -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; diff --git a/installer/installer/UnitScanMods.pas b/installer/installer/UnitScanMods.pas index 523c6698..199eec1f 100755 --- a/installer/installer/UnitScanMods.pas +++ b/installer/installer/UnitScanMods.pas @@ -242,7 +242,7 @@ initialization eModsPath.Add('wizwars'); eModsPath.Add('wormshl'); eModsPath.Add('zp'); - eModsPath.Add('esforce'); + eModsPath.Add('esf'); finalization diff --git a/installer/installer/UnitfrmMain.pas b/installer/installer/UnitfrmMain.pas index 07f8baa7..b1d2e17c 100755 --- a/installer/installer/UnitfrmMain.pas +++ b/installer/installer/UnitfrmMain.pas @@ -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;