     
   player.board.draw_fake_stone dot
   window.pendding_move = ->
-    if player.board.on_dot_click(dot) is true
-      move[dot.owner.toUpperCase()] = dot.name
-      player.parser.update_game move
-
-      if black_player is current_player
-        $('#game').attr('current_player', white_player)
-      else
-        $('#game').attr('current_player', black_player)
-      # for better user experience
-      $('#pass').hide()
-      $('#score').hide()
-      $('#resign').hide()
-      $.post(window.location.pathname  + '/moves', {"sgf":$("#game").attr("sgf"), "player_id":$("#game").attr("current_user")})
+    player.board.on_dot_click(dot)
+    move[player.board.color_in_turn.toUpperCase()] = dot.name
+    player.parser.update_game move
+
+    if black_player is current_player
+      $('#game').attr('current_player', white_player)
     else
-      if window.get_locale() is 'zh'
-        alert('无效的落子点.')
-      else
-        alert('This is an illegal move.')
+      $('#game').attr('current_player', black_player)
+    # for better user experience
+    $('#pass').hide()
+    $('#score').hide()
+    $('#resign').hide()
+    $.post(window.location.pathname  + '/moves', {"sgf":$("#game").attr("sgf"), "player_id":$("#game").attr("current_user")})
 
 window.post_comments = ->
   (e) ->

          target.removeClass('last_text')

        @draw_last_mark dot, draw_flag
        return rc

    return rc

        @dots_checked = []
        if @is_alive dot
          dot.check_nearby_dots true
        else
          dot.check_nearby_dots false
          if @captured_color is dot.owner or @captured_color is 'e'
            @to_be_captured[@to_be_captured.length] = dot

        @capture_stones()
        @captured_color = 'e'
