Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomityGuy committed Mar 17, 2024
1 parent 1cede65 commit 56fc40e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions game/marble/client/ui/JoinGameInviteDlg.gui
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,15 @@ function DiscordIUsernameRequest::onLine(%this, %line)
%this.success = true;

%username = %resp.realname;
if ($pref::Lobby::StreamerMode)
if (%username !$= "")
{
%username = getSubStr(%username, 0, 1) @ "...";
}
if ($pref::Lobby::StreamerMode)
{
%username = getSubStr(%username, 0, 1) @ "...";
}

JoinGameInviteDlg.username = %username;
JoinGameInviteDlg.username = %username;
}
}
else
{
Expand Down

0 comments on commit 56fc40e

Please sign in to comment.