Fixed addon bug

This commit is contained in:
Christian Hammacher 2005-11-02 13:42:05 +00:00
parent 67c0230a62
commit 8016d02319
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -240,7 +240,7 @@ begin
if (frbDedicatedServer.Checked) or (frbStandaloneServer.Checked) then begin
jspInstallProgress.Show;
ChosenMod := modNone;
ePath := GetModPathName(lstMods.Items[lstMods.ItemIndex]);
ePath := LowerCase(GetModPathName(lstMods.Items[lstMods.ItemIndex]));
// ask for additional mods...
if (ePath = 'cstrike') or (ePath = 'czero') then begin
if MessageBox(Handle, 'Install Counter-Strike addon?', PChar(Application.Title), MB_ICONQUESTION + MB_YESNO) = mrYes then