for ($i = 0 ; $i < BIN5_PLAYERS_N ; $i++) {
$this->total[$i] = 0;
$user_cur = $userarr[$this->player[$i]];
+ $user_cur->stat_set('table');
$user_cur->exitislock = TRUE;
}
return ($ct);
}
- function rules_engine($bri, $curtime, $action, $user)
+ function rules_engine(&$bri, $curtime, $action, $user)
{
GLOBAL $G_all_points, $G_dbasetype;
}
}
-
-
if ($again) { // Qualcosa non andato bene, rifare
$ret = sprintf('gst.st = %d; asta_pnt_set(%d);', $user->step+1,
($table->asta_pnt > 60 ? $table->asta_pnt + 1 : 61) );
$bri_user_cur = $bri->user[$i];
$user_cur = $room->user[$table->player[$i]];
- $bri_user_cur->stat_set('table');
- $bri_user_cur->subst = 'asta';
$bri_user_cur->laccwr = $curtime;
-
$bri_user_cur->trans_step = $user_cur->step + 1;
$bri_user_cur->comm[$bri_user_cur->step % COMM_N] = "";
$bri_user_cur->step_inc();