Changeset 203 for trunk/UGame.pas


Ignore:
Timestamp:
May 18, 2018, 12:54:37 AM (6 years ago)
Author:
chronos
Message:
  • Fixed: Player turn start/end signaling from server to clients.
  • Added: Save action to save game without opening save dialog.
  • Fixed: Move dialog was not opened after new game was created.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UGame.pas

    r202 r203  
    31503150  repeat
    31513151    CurrentPlayer := Players[(Players.IndexOf(CurrentPlayer) + 1) mod Players.Count];
    3152     if Assigned(FOnPlayerChange) then
    3153       FOnPlayerChange(Self);
    31543152  until CurrentPlayer.IsAlive;
     3153  if Assigned(FOnPlayerChange) then
     3154    FOnPlayerChange(Self);
     3155
    31553156  if Players.IndexOf(CurrentPlayer) < Players.IndexOf(PrevPlayer) then begin
    31563157    Inc(TurnCounter);
Note: See TracChangeset for help on using the changeset viewer.