Skip to content

Commit 3a41a5a

Browse files
author
Nathan Esayeas
authored
Update info.pug
`currentAmount` isn't declared in `setBetToLua(...)`
1 parent 8bc884a commit 3a41a5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/views/info.pug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2502,7 +2502,7 @@ block content
25022502
try {
25032503
iswin = getWinStatus(ret);
25042504
setStreak(iswin, currentAmount);
2505-
setBetToLua(ret, currencyValue);
2505+
setBetToLua(ret, currencyValue, currentAmount);
25062506
if(toggleChart) {
25072507
setChart(ret, count, currencyValue);
25082508
}
@@ -2673,7 +2673,7 @@ block content
26732673
bet_current_stats_seed:seed,
26742674
});
26752675
}
2676-
function setBetToLua(ret, currencyValue){
2676+
function setBetToLua(ret, currencyValue, currentAmount){
26772677
currentstreak = $$('bet_current_stats2').getValues().bet_current_stats_current_streak;
26782678
profit = getProfit(ret.info,currencyValue);
26792679
balance = getBalance(ret.info)

0 commit comments

Comments
 (0)