Skip to content

Commit

Permalink
Fixed player name requiring restart to set
Browse files Browse the repository at this point in the history
  • Loading branch information
HumanGamer committed Mar 28, 2024
1 parent ca393c4 commit 3c18f59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions game/marble/client/ui/LevelPreviewGui.gui
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ function levelPreviewGui::onA()
// Flip out of singlePlayerMode
setSinglePlayerMode(false);

// update local client data to fix player name not updating
LocalClientConnection.updateClientData($Player::Name, $Player::XBLiveId, XBLiveGetVoiceStatus(), false);

// Create a new server
loadMission(GameMissionInfo.getCurrentMission().file, true);

Expand Down

0 comments on commit 3c18f59

Please sign in to comment.