X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex_wr.php;h=7fbf6a383f16ede6d412556aaef7fb73895c2fd8;hb=44d6ac386631aa525344c168e3441f95d885dfa7;hp=3133fe74ffc1b1bdc02c77f5c8a7f4049af4a953;hpb=04e1d4690aafd42fb24abf8c24dd9f036b4b08a8;p=brisk.git diff --git a/web/index_wr.php b/web/index_wr.php index 3133fe7..7fbf6a3 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -115,7 +115,8 @@ else if ($user->stat == 'room') { $table->init(); $table->game_init(&$bri); - + $curtime = time(); + for ($i = 0 ; $i < $table->player_n ; $i++) { $user_cur = &$bri->user[$table->player[$i]]; log_wr($sess, "Pre if!"); @@ -129,6 +130,7 @@ else if ($user->stat == 'room') { $user_cur->stat = 'table'; $user_cur->subst = 'asta'; + $user_cur->laccwr = $curtime; $user_cur->step++; $user_cur->comm[$user_cur->step % COMM_N] = show_table(&$bri,&$user_cur,$user_cur->step+1,TRUE, FALSE);