From 16e2e53a2458b5565a22121fd7ac590a5825545f Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Tue, 27 Oct 2020 19:17:40 +1100 Subject: [PATCH] Changed party toasts to lowercase --- src/network/NetworkedParty.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/NetworkedParty.js b/src/network/NetworkedParty.js index cf2b624..55361f1 100644 --- a/src/network/NetworkedParty.js +++ b/src/network/NetworkedParty.js @@ -144,7 +144,7 @@ function NetworkedParty({ gameId, session }) { function handlePeerDisconnect({ peer }) { if (partyNicknames[peer.id]) { - addToast(`${partyNicknames[peer.id]} Left the Party`); + addToast(`${partyNicknames[peer.id]} left the party`); } setPartyNicknames((prevNicknames) => omit(prevNicknames, [peer.id])); setPartyTimers((prevTimers) => omit(prevTimers, [peer.id])); @@ -155,7 +155,7 @@ function NetworkedParty({ gameId, session }) { if (!peer.initiator) { for (let peerId in data) { if (!(peerId in partyNicknames)) { - addToast(`${data[peerId]} Joined the Party`); + addToast(`${data[peerId]} joined the party`); } } }