Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost

master
Aevann1 2022-09-13 20:18:02 +00:00
commit 333e6dc712
3 changed files with 3 additions and 3 deletions

View File

@ -182,7 +182,7 @@ def spin_roulette_wheel():
if coin_winnings > 0:
notification_text = notification_text + \
f"* You received {coin_winnings} dramacoins.\n"
f"* You received {coin_winnings} coins.\n"
if procoin_winnings > 0:
notification_text = notification_text + \

View File

@ -101,7 +101,7 @@
${playerCards}
`;
const currency = state.wager.currency === 'coins' ? 'dramacoins' : 'marseybux';
const currency = state.wager.currency === 'coins' ? 'coins' : 'marseybux';
switch (state.status) {
case 'BLACKJACK':

View File

@ -161,7 +161,7 @@
const [biggestWinnerAllTime, biggestWinner24h, biggestLoser24h, biggestLoserAllTime] = [
'biggestWinnerAllTime', 'biggestWinner24h', 'biggestLoser24h', 'biggestLoserAllTime'
].map(id => document.getElementById(id));
const formatLocalCurrencyName = currency => ({ coins: 'dramacoins', procoins: 'marseybux' })[currency];
const formatLocalCurrencyName = currency => ({ coins: 'coins', procoins: 'marseybux' })[currency];
biggestWinnerAllTime.innerHTML = `
<a href="/@${leaderboardData.all_time.biggest_win.user}">${leaderboardData.all_time.biggest_win.user}</a> <br /><small>${leaderboardData.all_time.biggest_win.amount} ${formatLocalCurrencyName(leaderboardData.all_time.biggest_win.currency)}</small>