X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex_wr.php;h=dd2deb2f35d09805b72d44f38a84680435f521eb;hb=a52a0528f62b63d4850970e03e3528aeacfaf3e4;hp=1dcb06e225551e2bc73f00b94e348c08bee579fd;hpb=c0343793fa79c053f3498a5b5eee1ef6ccb05d5e;p=brisk.git diff --git a/web/index_wr.php b/web/index_wr.php index 1dcb06e..dd2deb2 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -196,7 +196,7 @@ else if ($user->stat == 'table') { $lockcalc = $table->exitlock_calc(&$bri->user, $user->table_pos); if ($lockcalc < 3) { $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; "; - $user->comm[$user->step % COMM_N] .= $table->exitlock_show(); + $user->comm[$user->step % COMM_N] .= $table->exitlock_show(&$bri->user, $user->table_pos); $user->comm[$user->step % COMM_N] .= show_notify("
I dati presenti sul server non erano allineati con quelli inviati dal tuo browser, adesso lo sono. Riprova ora.", 2000, "Torna alla partita.", 400, 100); log_wr($sess, $user->comm[$user->step % COMM_N]); @@ -220,7 +220,7 @@ else if ($user->stat == 'table') { } for ($i = 0 ; $i < PLAYERS_N ; $i++) { $ret = sprintf('gst.st = %d;', $user_cur[$i]->step+1); - $ret = sprintf('exitlock_show(%d, %s);', $ct, + $ret .= sprintf('exitlock_show(%d, %s);', $ct, ($user_cur[$i]->exitislock ? 'true' : 'false')); $user_cur[$i]->comm[$user_cur[$i]->step % COMM_N] = $ret; log_wr($sess, $user_cur[$i]->comm[$user_cur[$i]->step % COMM_N]);