Changeset 648 for trunk/Start.pas


Ignore:
Timestamp:
Feb 19, 2025, 9:43:42 AM (3 days ago)
Author:
chronos
Message:
  • Fixed: Tribes were not propertly detected in usr/share/c-evo directory.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Start.pas

    r647 r648  
    235235
    236236  ActionsOffered := [maConfig, maManual, maCredits, maWeb];
    237   if FileExists(GetAppShareFile(AITemplateFileName)) then
     237  if FileExists(GetAppSharePath(AITemplateFileName)) then
    238238    Include(ActionsOffered, maAIDev);
    239239
     
    484484    for I := 1 to Languages.Count - 1 do
    485485    with Languages[I] do begin
    486       Available := DirectoryExists(GetAppShareDir('Localization' + DirectorySeparator + Code)) or (Code = 'en');
     486      Available := DirectoryExists(GetAppSharePath('Localization' + DirectorySeparator + Code)) or (Code = 'en');
    487487    end;
    488488  end;
     
    15171517      maManual: DirectHelp(cStartHelp);
    15181518      maCredits: DirectHelp(cStartCredits);
    1519       maAIDev: OpenDocument(GetAppShareFile(AITemplateFileName));
     1519      maAIDev: OpenDocument(GetAppSharePath(AITemplateFileName));
    15201520      maWeb: OpenURL(CevoHomepage);
    15211521    end;
Note: See TracChangeset for help on using the changeset viewer.