From 3c18f596cd4c626ec8a437a93a7b63bb5d4dfc4b Mon Sep 17 00:00:00 2001 From: Human Gamer <39096122+HumanGamer@users.noreply.github.com> Date: Thu, 28 Mar 2024 16:37:42 -0500 Subject: [PATCH] Fixed player name requiring restart to set --- game/marble/client/ui/LevelPreviewGui.gui | 3 +++ 1 file changed, 3 insertions(+) diff --git a/game/marble/client/ui/LevelPreviewGui.gui b/game/marble/client/ui/LevelPreviewGui.gui index 84431d70..0ecfc5ee 100644 --- a/game/marble/client/ui/LevelPreviewGui.gui +++ b/game/marble/client/ui/LevelPreviewGui.gui @@ -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);