Update Discord.cpp

This commit is contained in:
Nayla 2023-04-20 20:48:35 -04:00 committed by GitHub
commit 65631fbe91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ bool mpn_update_discord()
{ {
DiscordRichPresence discord_presence = {}; DiscordRichPresence discord_presence = {};
snprintf(Details, sizeof(Details), "Players: %/4 Turn: %d/%d", snprintf(Details, sizeof(Details), "Players: %/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));