Changeset 318 for trunk/Core.pas
- Timestamp:
- Jun 21, 2024, 3:20:20 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Core.pas
r317 r318 420 420 if not Assigned(FormMain.FormPlayersStats) then 421 421 FormMain.FormPlayersStats := TFormPlayersStats.Create(nil); 422 FormMain.FormPlayersStats.OnSpectate := Spectate; 422 423 FormMain.FormPlayersStats.Show; 423 424 end; … … 446 447 if not Assigned(FormMain.FormCharts) then 447 448 FormMain.FormCharts := TFormCharts.Create(nil); 449 FormMain.FormCharts.Game := Game; 448 450 FormMain.FormCharts.Show; 449 451 end; … … 451 453 procedure TCore.AShowKeyShortcutsExecute(Sender: TObject); 452 454 begin 453 if not Assigned(FormMain.FormKeyShortcuts) then FormMain.FormKeyShortcuts := TFormKeyShortcuts.Create(nil); 454 FormMain.FormKeyShortcuts.Show; 455 if not Assigned(FormMain.FormKeyShortcuts) then 456 FormMain.FormKeyShortcuts := TFormKeyShortcuts.Create(nil); 457 with FormMain.FormKeyShortcuts do begin 458 SourceComponents.Clear; 459 SourceComponents.Add(Self); 460 SourceComponents.Add(FormMain); 461 Show; 462 end; 455 463 end; 456 464 … … 459 467 if not Assigned(FormMain.FormUnitMoves) then 460 468 FormMain.FormUnitMoves := TFormUnitMoves.Create(nil); 469 FormMain.FormUnitMoves.Game := Game; 461 470 FormMain.FormUnitMoves.Show; 462 471 end;
Note:
See TracChangeset
for help on using the changeset viewer.