Changeset 205 for trunk/UGameClient.pas


Ignore:
Timestamp:
May 20, 2018, 11:19:57 PM (6 years ago)
Author:
chronos
Message:
  • Fixed: Show correctly units move dialog after new game is created.
  • Fixed: Missing hints in client form toolbar.
  • Fixed: Recalculate players stats after game was loaded from file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UGameClient.pas

    r203 r205  
    2020    FControlPlayer: TPlayer;
    2121    FOnChange: TNotifyEvent;
     22    FOnDestroy: TNotifyEvent;
    2223    FOnReceive: TCommandEvent;
    2324    FOnMove: TMoveEvent;
     
    4849    property Game: TGame read FGame write SetGame;
    4950    property Form: TForm read FForm write SetForm;
     51    property OnDestroy: TNotifyEvent read FOnDestroy write FOnDestroy;
    5052    property OnMove: TMoveEvent read FOnMove write SetOnMove;
    5153    property OnReceive: TCommandEvent read FOnReceive write FOnReceive;
     
    193195destructor TClient.Destroy;
    194196begin
     197  Form := nil;
    195198  ControlPlayer := nil;
    196199  FreeAndNil(View);
Note: See TracChangeset for help on using the changeset viewer.