Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomityGuy committed Mar 4, 2024
1 parent 55247c3 commit 7b8760e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion engine/source/discord/DiscordGame.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class DiscordGame
int minLength = fmin(charLimit, mUsername.length());
for (int i = 0; i < minLength; i++)
buf[i] = mUsername[i];
buf[charLimit] = '\0';
buf[minLength] = '\0';
StringTableEntry ste = StringTable->insert(buf, true);
delete[] buf;
return ste;
Expand Down
1 change: 1 addition & 0 deletions game/marble/client/ui/JoinGameInviteDlg.gui
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ function JoinGameInviteDlg::onY(%this)
%this.responded = true;
XBLiveRespondJoinRequest(%this.userId, 1);
JoinGameInviteFrame.setTitle("Accepted join request");
cancel(%this.animSchedule);
cancel(%this.closeSchedule);
%this.closeSchedule = %this.schedule(2000, "close");
}
Expand Down

0 comments on commit 7b8760e

Please sign in to comment.