Example #1
0
 private void OnChallengeAccepted(int userId)
 {
   lock (roomLock)
   {
     ChallengeAccepted(GetUser(userId));
     SingleHost s = new SingleHost(User.Id, currentSettings);///////////
     battleHost = s;
     battleClient = s;
     StartGame(challengingPms);
     challengingPms = null;
   }
 }