Changeset 683 for trunk/Start.pas


Ignore:
Timestamp:
Jul 26, 2025, 7:06:45 PM (16 hours ago)
Author:
chronos
Message:
  • Modified: Auto select newly saved game as last game in previous games list.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Start.pas

    r680 r683  
    13251325    until FindNext(F) <> 0;
    13261326  FindClose(F);
     1327
     1328  // Update last game with new saved game name
     1329  if GetLogFileName <> '' then LastGame := ExtractFileNameOnly(GetLogFileName);
     1330
    13271331  I := FormerGames.IndexOf(LastGame);
    13281332  if I >= 0 then ListIndex[tbPrevious] := I
Note: See TracChangeset for help on using the changeset viewer.