Changeset 215 for trunk/UCore.pas
- Timestamp:
- May 25, 2018, 8:30:06 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r213 r215 8 8 Classes, SysUtils, XMLConf, FileUtil, ActnList, Controls, Dialogs, Forms, 9 9 UGame, UApplicationInfo, UPersistentForm, UScaleDPI, UCoolTranslator, 10 URegistry, ULastOpenedList, Registry, Menus, U Geometry, UFormClient,11 UGameServer, UGameClient, fgl, UServerList , UGameProtocol;10 URegistry, ULastOpenedList, Registry, Menus, UFormClient, 11 UGameServer, UGameClient, fgl, UServerList; 12 12 13 13 type … … 615 615 616 616 CommandLineParams; 617 if not GameLoaded and ReopenLastFile and (LastOpenedList1.Items.Count > 0) then 617 if not GameLoaded and ReopenLastFile and (LastOpenedList1.Items.Count > 0) and 618 FileExists(LastOpenedList1.Items[0]) then 618 619 LoadGame(LastOpenedList1.Items[0]); 619 620 FormClientActions; 620 621 621 if Game.FileName = '' then StartNewGame; 622 if Game.FileName = '' then begin 623 Game.Assign(GameSettings); 624 StartNewGame; 625 end; 622 626 end; 623 627 end;
Note:
See TracChangeset
for help on using the changeset viewer.