Global variable undefined?!

Open the console and add two users (or more, doesnt matter). The alert is supposed to be for the variable “whoseturn”…When you click the dice, it does gamePlay(), which then calls diceRoll. It technically goes beyond that but it fails in the diceRoll function.

Nevermind, fixed it.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.