Program: 86629
Project: 86629
Buggy source:
@Override public void update(TimeStep timeStep){
  game.showScoreBoard(inputs.isKeyDown(Keys.TAB) || controllerInput.isButtonDown(ControllerButtons.SELECT_BTN));
  this.sayTxtBxView.update(timeStep);
  this.teamSayTxtBxView.update(timeStep);
  this.cursor.update(timeStep);
  isDebugMode=inputs.isKeyDown(Keys.ALT_LEFT);
  if (!dialog.isOpen() && (sayTxtBx.isDisabled() && teamSayTxtBx.isDisabled())) {
    if (controllerInput.isButtonReleased(ControllerButtons.START_BTN)) {
      dialogMenu();
    }
    inputKeys=controllerInput.pollInputs(timeStep,keyMap,cursor,inputKeys);
    inputKeys=inputs.pollInputs(timeStep,keyMap,cursor,inputKeys);
    if (inputs.isKeyDown(keyMap.getSayKey())) {
      showTextBox(sayTxtBx);
    }
 else     if (inputs.isKeyDown(keyMap.getTeamSayKey())) {
      showTextBox(teamSayTxtBx);
    }
    if (this.aiShortcutsMenu.isShowing()) {
      if (this.aiShortcuts.checkShortcuts(inputs,app.getConsole(),game)) {
        this.aiShortcutsMenu.hide();
      }
    }
  }
 else {
    this.uiManager.update(timeStep);
    this.uiManager.checkIfCursorIsHovering();
    this.dialogView.update(timeStep);
    inputKeys=0;
  }
  if (!game.isFreeformCamera()) {
    inputMessage.keys=inputKeys;
  }
  Vector2f mousePos=cursor.getCursorPos();
  inputMessage.orientation=game.calcPlayerOrientation(mousePos.x,mousePos.y);
  connection.getClientProtocol().sendPlayerInputMessage(inputMessage);
  connection.updateNetwork(timeStep);
  game.update(timeStep);
  game.applyPlayerInput(mousePos.x,mousePos.y,inputKeys);
  inputKeys=0;
  if (isDebugMode) {
    debugEffects.update(timeStep);
  }
}

Fixed version (ground truth):
@Override public void update(TimeStep timeStep){
  game.showScoreBoard(inputs.isKeyDown(Keys.TAB) || controllerInput.isButtonDown(ControllerButtons.SELECT_BTN));
  this.sayTxtBxView.update(timeStep);
  this.teamSayTxtBxView.update(timeStep);
  this.cursor.update(timeStep);
  isDebugMode=inputs.isKeyDown(Keys.ALT_LEFT);
  if (!dialog.isOpen() && (sayTxtBx.isDisabled() && teamSayTxtBx.isDisabled())) {
    if (controllerInput.isButtonReleased(ControllerButtons.START_BTN)) {
      dialogMenu();
    }
    inputKeys=controllerInput.pollInputs(timeStep,keyMap,cursor,inputKeys);
    inputKeys=inputs.pollInputs(timeStep,keyMap,cursor,inputKeys);
    if (inputs.isKeyDown(keyMap.getSayKey())) {
      showTextBox(sayTxtBx);
    }
 else     if (inputs.isKeyDown(keyMap.getTeamSayKey())) {
      showTextBox(teamSayTxtBx);
    }
    if (this.aiShortcutsMenu.isShowing()) {
      if (this.aiShortcuts.checkShortcuts(inputs,app.getConsole(),game)) {
        this.aiShortcutsMenu.hide();
      }
    }
  }
 else {
    this.uiManager.update(timeStep);
    this.uiManager.checkIfCursorIsHovering();
    this.dialogView.update(timeStep);
    inputKeys=0;
  }
  if (!game.isFreeformCamera()) {
    inputMessage.keys=inputKeys;
  }
 else {
    inputMessage.keys=0;
  }
  Vector2f mousePos=cursor.getCursorPos();
  inputMessage.orientation=game.calcPlayerOrientation(mousePos.x,mousePos.y);
  connection.getClientProtocol().sendPlayerInputMessage(inputMessage);
  connection.updateNetwork(timeStep);
  game.update(timeStep);
  game.applyPlayerInput(mousePos.x,mousePos.y,inputKeys);
  inputKeys=0;
  if (isDebugMode) {
    debugEffects.update(timeStep);
  }
}