fixed move generation error

This commit is contained in:
mig 2017-04-13 17:43:50 +02:00
parent 4278aceac5
commit 6dab9eed00

View file

@ -158,6 +158,7 @@ Model.Board.GenerateMoves = function(aGame) {
// only "meaningful" moves
}
*/
this.mMoves = [];
if(this.placing)
this.GeneratePlacingMoves(aGame);
else if(aGame.mOptions.canFly)