corretta gestione cambio nickname in partita
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sun, 21 Jan 2007 12:19:04 +0000 (12:19 +0000)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sun, 21 Jan 2007 12:19:04 +0000 (12:19 +0000)
web/brisk.phh

index 3188b34..2a7355c 100644 (file)
@@ -554,7 +554,8 @@ class brisco {
       // update remote graphs
       for ($i = 0 ; $i < MAX_PLAYERS ; $i++) {
        $user_cur = &$this->user[$i];
-       if ($user_cur->sess == '' || $user_cur->stat != 'room')
+       //      if ($user_cur->sess == '' || $user_cur->stat != 'room')
+       if ($user_cur->sess == '')
          continue;
        if ($user_cur->name == $name_new) {
          $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; ";