Changeset 37 for trunk/Forms


Ignore:
Timestamp:
Oct 13, 2019, 5:20:58 PM (5 years ago)
Author:
chronos
Message:
  • Fixed: Initial tiles in moves history were not correctly initialized.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r36 r37  
    8888  Core.PersistentForm1.Load(Self);
    8989  UpdateInterface;
    90   if Core.Game.Board.GetEmptyTilesCount > Core.Game.Board.Size.X * Core.Game.Board.Size.Y - 2 then
     90  if Core.Game.Board.GetEmptyTilesCount > Core.Game.Board.Size.X * Core.Game.Board.Size.Y -
     91    InitialTileCount then
    9192    Core.Game.New;
    9293end;
Note: See TracChangeset for help on using the changeset viewer.