updates null moves

This commit is contained in:
DHTMLGoodies
2017-03-01 20:46:43 +01:00
parent 2b1e3e0f04
commit 29dc9b5f8a
4 changed files with 23 additions and 5 deletions

View File

@@ -37,6 +37,8 @@ class GameParser
private function parseAMove(&$move)
{
if (!isset($move[CHESS_JSON::MOVE_NOTATION]) || (isset($move[CHESS_JSON::FEN]) && isset($move[CHESS_JSON::MOVE_FROM]) && isset($move[CHESS_JSON::MOVE_TO]))) {
return;
}