Ok well wait(1); isn't likely the issue. Wait adds the current function to the schedule list and then allows other functions to run. Isn't it more likely that during the wait() the next running function cause the crash.


Anyway. Good luck