Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Random interval empty

edited July 2014 in General Posts: 142

So I was working on a project and after changing none of the code, the project failed to load and returned an error: bad argument #2 to 'random' (interval is empty). I tried the project later and everything was working again, but it has stopped again. Can anyone tell me what's going wrong?

Comments

  • dave1707dave1707 Mod
    Posts: 8,064

    Not without seeing some code, like the line that's causing the error. Does the screen rotation cause the error when you start.

  • Posts: 142

    @dave1707 oh yeah it was because I was holding it in portrait mode. Whoops! Thanks, by the way, I was trying to improve the mini golf game.

Sign In or Register to comment.