Skip to content

Commit

Permalink
MenuScreenNewGame BoxOptionSelected remove resetting the player name
Browse files Browse the repository at this point in the history
when closing the Help message it would reset the player name for no reason
  • Loading branch information
Die4Ever authored Jul 2, 2022
1 parent 9bd62c8 commit 9bdc7a6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion DeusEx/Classes/MenuScreenNewGame.uc
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,6 @@ event bool BoxOptionSelected(Window msgBoxWindow, int buttonNumber)
// Destroy the msgbox!
root.PopWindow();

editName.SetText(player.TruePlayerName);
editName.MoveInsertionPoint(MOVEINSERT_End);
editName.SetSelectedArea(0, Len(editName.GetText()));
SetFocusWindow(editName);
Expand Down

0 comments on commit 9bdc7a6

Please sign in to comment.