Attempt to compare number <= nil, however <= is actually >= and nil is a number?

That’s what I will be doing. I added another variable, debugIfThisGarbageHappensAgain, so if this issue occurs again I’ll be able to see what’s going on. The variable will allow me to enable/disable the print statements. I changed the function that I was using to check the player’s Tokens & Bucks amount, and that seems to have fixed the issue. I’ll fix the older function to prevent another issue in the future.

Alright, cool. If anything here has helped you, make sure to mark whatever you feel was most appropriate in helping you solve your issue. Good luck with that error, and here’s hoping that getting those value objects was your issue, and not something more elusive.

1 Like