The code snippet below is causing me some trouble...
var firstPlay = 1;
if (firstPlay == 1) {
firstPlay();
}
If I remove the if statement and simply have:
firstPlay();
It works fine, but for some reason it doesn't work with the if statement.
I'm wondering if there's a typo in my code. If not, how should I approach debugging this issue?