Changeset 513


Ignore:
Timestamp:
Jan 3, 2024, 11:27:20 AM (11 months ago)
Author:
chronos
Message:
  • Fixed: Help dialog error if opened from Start dialog after closed game.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Term.pas

    r512 r513  
    73897389    FHelpDlg := THelpDlg.Create(nil);
    73907390    ArrangeDialog(FHelpDlg);
    7391     FHelpDlg.Difficulty := G.Difficulty[Me];
     7391    if Me <> -1 then
     7392      FHelpDlg.Difficulty := G.Difficulty[Me]
     7393      else FHelpDlg.Difficulty := 0;
    73927394  end;
    73937395  Result := FHelpDlg;
Note: See TracChangeset for help on using the changeset viewer.