Changeset 251 for trunk/UGame.pas


Ignore:
Timestamp:
Sep 22, 2018, 10:20:05 PM (6 years ago)
Author:
chronos
Message:
  • Added: Menu icons for players stats and help.
  • Fixed: Force directory creation only if directory is specified on game save.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UGame.pas

    r239 r251  
    582582      AppendChild(NewNode);
    583583      Players.SaveToNode(NewNode);
    584   end;
    585     ForceDirectoriesUTF8(ExtractFileDir(FileName));
     584    end;
     585    if ExtractFileDir(FileName) <> '' then
     586      ForceDirectoriesUTF8(ExtractFileDir(FileName));
    586587    WriteXMLFile(Doc, FileName);
    587588  finally
Note: See TracChangeset for help on using the changeset viewer.