Update Discord.cpp

This commit is contained in:
Nayla 2023-04-21 10:02:24 -04:00 committed by GitHub
commit 4270a9d59d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ bool mpn_update_discord()
if (CurrentState.Boards && CurrentState.Board) if (CurrentState.Boards && CurrentState.Board)
{ {
DiscordRichPresence discord_presence = {}; DiscordRichPresence discord_presence = {};
snprintf(Details, sizeof(Details), "Players: %/4 Turn: %d/%d", snprintf(Details, sizeof(Details), "Players: %d/4 Turn: %d/%d",
discord_presence.partySize, discord_presence.partySize,
mpn_read_value(CurrentState.Addresses->CurrentTurn, 1), mpn_read_value(CurrentState.Addresses->CurrentTurn, 1),
mpn_read_value(CurrentState.Addresses->TotalTurns, 1)); mpn_read_value(CurrentState.Addresses->TotalTurns, 1));