Changeset 386 for trunk/Core.pas


Ignore:
Timestamp:
Jan 4, 2025, 10:18:42 PM (4 days ago)
Author:
chronos
Message:
  • Fixed: Previous auto save game was not correctly restored if no game was loaded yet.
  • Modified: Use new higher resolution application image in about dialog.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Core.pas

    r379 r386  
    725725begin
    726726  CommandLineParams;
    727   if not GameLoaded and (LastOpenedList1.Items.Count > 0) and
    728     FileExists(LastOpenedList1.Items[0]) then
    729     Game.FileName := LastOpenedList1.Items[0];
    730727
    731728  if not GameLoaded and FileExists(GetAutoSaveFileName) then begin
     
    736733  end;
    737734
    738   if Game.FileName = '' then begin
     735  if not GameLoaded and (Game.FileName = '') then begin
    739736    Game.Assign(GameSettings);
    740737    StartNewGame;
Note: See TracChangeset for help on using the changeset viewer.