Issue with numPlayers being undefined and not properly set. Should work now.