         @map.p1_tank().commander.add_key_event("keyup", event.which)
       if @map.p2_tank()
         @map.p2_tank().commander.add_key_event("keyup", event.which)
+      event.preventDefault()
       false
 
     $(document).bind "keydown", (event) =>

        @map.p1_tank().commander.add_key_event("keydown", event.which)
      if @map.p2_tank()
        @map.p2_tank().commander.add_key_event("keydown", event.which)
      false

  enable_system_control: () ->

        when 13
          # ENTER
          @game.switch_scene('stage')
          event.preventDefault()
        when 32
          # SPACE
          @toggle_players()
          event.preventDefault()

  disable_selection_control: () ->
    $(document).unbind "keydown"
