fixed generate moves

This commit is contained in:
mig 2017-05-11 15:30:28 +02:00
parent 2c6056005c
commit dd07e5cf9b
1 changed files with 1 additions and 0 deletions

View File

@ -151,6 +151,7 @@ Model.Board.InitialPosition = function(aGame) {
/* Push into the mMoves array, every possible move
*/
Model.Board.GenerateMoves = function(aGame) {
this.mMoves = [];
try {
this._GenerateMoves(aGame);
} catch(e) {