mydicebot / mydicebot.github.io

★MyDiceBot★ - Ultimate Bitcoin Dice Bot. Bet More, Earn More!
https://mydicebot.com
GNU General Public License v3.0
98 stars 61 forks source link

Objet lastBet do not work in console mode #124

Closed dannycoin closed 3 years ago

dannycoin commented 3 years ago

every time the object "lastBet" is used for example assigning a variable: a = lastBet.roll ... a = lastBet.profit ... a = lastBet.amount .. etc

you can't use that variable in a conditional instruction like: if (x >= a) then ... end

this always produces the error: "attempt to compare nil with number"

this issue/bug is only in console mode.. in browser or desktop there are no errors.

mydicebot commented 3 years ago

https://github.com/mydicebot/mydicebot.github.io/releases/tag/v21.3.18