Changeset 47 for trunk/Forms/UMainForm.pas
- Timestamp:
- Apr 24, 2019, 11:41:52 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UMainForm.pas
r44 r47 76 76 77 77 uses 78 UCore, UMapForm, U NewGameForm, UFormAbout;78 UCore, UMapForm, UFormNewGame, UFormAbout; 79 79 80 80 resourcestring … … 191 191 procedure TMainForm.ANewGameExecute(Sender: TObject); 192 192 begin 193 NewGameForm.LoadData(Engine);194 if NewGameForm.ShowModal = mrOk then begin195 NewGameForm.SaveData(Engine);193 FormNewGame.LoadData(Engine); 194 if FormNewGame.ShowModal = mrOk then begin 195 FormNewGame.SaveData(Engine); 196 196 Engine.NewGame; 197 197 end;
Note:
See TracChangeset
for help on using the changeset viewer.