File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ async function betScript(req) {
276
276
try {
277
277
iswin = getWinStatus ( ret ) ;
278
278
setStreak ( iswin , currentAmount ) ;
279
- setBetToLua ( ret , currencyValue ) ;
279
+ setBetToLua ( ret , currencyValue , currentAmount ) ;
280
280
req . logdata = consoleData ( ret , iswin ) ;
281
281
consoleStats ( ret . info , currencyValue ) ;
282
282
} catch ( err ) {
@@ -363,7 +363,7 @@ function setStreak(win, currentAmount){
363
363
}
364
364
}
365
365
366
- function setBetToLua ( ret , currencyValue ) {
366
+ function setBetToLua ( ret , currencyValue , currentAmount ) {
367
367
profit = getProfit ( ret . info , currencyValue ) ;
368
368
balance = getBalance ( ret . info )
369
369
win = getWinStatus ( ret ) ;
Original file line number Diff line number Diff line change @@ -2502,7 +2502,7 @@ block content
2502
2502
try {
2503
2503
iswin = getWinStatus (ret);
2504
2504
setStreak (iswin, currentAmount);
2505
- setBetToLua (ret, currencyValue);
2505
+ setBetToLua (ret, currencyValue, currentAmount );
2506
2506
if (toggleChart) {
2507
2507
setChart (ret, count, currencyValue);
2508
2508
}
@@ -2673,7 +2673,7 @@ block content
2673
2673
bet_current_stats_seed: seed,
2674
2674
});
2675
2675
}
2676
- function setBetToLua (ret , currencyValue ){
2676
+ function setBetToLua (ret , currencyValue , currentAmount ){
2677
2677
currentstreak = $$ (' bet_current_stats2' ).getValues ().bet_current_stats_current_streak ;
2678
2678
profit = getProfit (ret .info ,currencyValue);
2679
2679
balance = getBalance (ret .info )
You can’t perform that action at this time.
0 commit comments