Problem solved. It was another function in my script that's responsible for the crash
↧
Problem solved. It was another function in my script that's responsible for the crash