@@ -4353,10 +4353,10 @@ function applyMove(
43534353 TableName : process . env . ABSTRACT_PLAY_TABLE ,
43544354 Item : {
43554355 "pk" : "GAMEEXPLORATION#" + game . id ,
4356- "sk" : game . players [ 0 ] . id + "#" + ( moveNumber + 2 + autoMoves ) ,
4356+ "sk" : game . players [ 0 ] . id + "#" + ( moveNumber + 1 + autoMoves ) ,
43574357 "user" : game . players [ 0 ] . id ,
43584358 "game" : game . id ,
4359- "move" : ( moveNumber + 2 + autoMoves ) ,
4359+ "move" : ( moveNumber + 1 + autoMoves ) ,
43604360 "tree" : JSON . stringify ( explorations [ 0 ] )
43614361 }
43624362 } ) ) ) ;
@@ -4367,10 +4367,10 @@ function applyMove(
43674367 TableName : process . env . ABSTRACT_PLAY_TABLE ,
43684368 Item : {
43694369 "pk" : "GAMEEXPLORATION#" + game . id ,
4370- "sk" : game . players [ 1 ] . id + "#" + ( moveNumber + 2 + autoMoves ) ,
4370+ "sk" : game . players [ 1 ] . id + "#" + ( moveNumber + 1 + autoMoves ) ,
43714371 "user" : game . players [ 1 ] . id ,
43724372 "game" : game . id ,
4373- "move" : ( moveNumber + 2 + autoMoves ) ,
4373+ "move" : ( moveNumber + 1 + autoMoves ) ,
43744374 "tree" : JSON . stringify ( explorations [ 1 ] )
43754375 }
43764376 } ) ) ) ;
0 commit comments