Changeset 589 for trunk/Brain.pas


Ignore:
Timestamp:
Jul 24, 2024, 10:51:34 AM (4 months ago)
Author:
chronos
Message:
  • Fixed: With selected map it was not possible to start a new game due to wrong map path.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Brain.pas

    r544 r589  
    104104begin
    105105  BasePath := ExtractFileDir(AIFileName);
    106   FileName := ExtractFileName(ExtractFileNameWithoutExt(ExtractFileNameWithoutExt(AIFileName)));
     106  FileName := ExtractFileNameOnly(ExtractFileNameOnly(AIFileName));
    107107  Name := FileName;
    108108  DLLName := BasePath + DirectorySeparator + Name + '.dll';
Note: See TracChangeset for help on using the changeset viewer.