Closed dannycoin closed 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.
https://github.com/mydicebot/mydicebot.github.io/releases/tag/v21.3.18
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.