X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2FObj%2Fbrisk.phh;h=4d119c4772ca8682df3c58ad41860aaf20ee720e;hb=ee120fe09cee7b7ff0a71bf8b50541cdef1f0e86;hp=93b9983e0dc7a5b9176e5d243b8d2e888bfccfc9;hpb=87e71c389b8da4cbd18ecbe372ad6e75a15cb965;p=brisk.git
diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh
index 93b9983..4d119c4 100644
--- a/web/Obj/brisk.phh
+++ b/web/Obj/brisk.phh
@@ -72,13 +72,12 @@ define(BRISK_SINGLE_SESS, "");
require_once("$DOCUMENT_ROOT/Etc/".BRISK_CONF);
-
$G_false = FALSE;
$G_all_points = array( 11,10,4,3,2, 0,0,0,0,0 );
-$G_brisk_version = "spawn-0.12.0";
+$G_brisk_version = "spawn-0.13.1";
-$root_wellarr = Array ( 'Benvenuto in brisk (Ver. '.$G_brisk_version.'), NOVITA\': aggiunta messaggistica a tutti i tavoli - versione beta2.',
+$root_wellarr = Array ( 'Benvenuto in brisk (Ver. '.$G_brisk_version.'), NOVITA\': comando /tav per annunciare i tavoli attivi - versione beta3.',
'Se vuoi iscriverti alla Mailing List, cliccala!' );
$table_wellarr = Array ( 'Benvenuto al tavolo. Se almeno tre giocatori non sbloccano l\'uscita cliccando il lucchetto, chi esce non può risedersi a un qualunque tavolo per '.floor(BAN_TIME/60).' minuti.');
@@ -1213,11 +1212,12 @@ class Room {
{
log_main("room_sitdown ".($user == FALSE ? "USER: FALSE" : "USER: ".$user->name));
+ $train_app = "";
+
if ($table_idx > -1 && $table_idx < TABLES_N) {
$table = &$this->table[$table_idx];
// wagon shutdown
- $train_app = "";
if ($table->wag_own != NULL && $table->player_n == PLAYERS_N) {
for ($i = 0 ; $i < TABLES_N ; $i++) {
$user_cur =& $this->user[$table->player[$i]];
@@ -1311,7 +1311,8 @@ class Room {
$msg = substr($msg, 5);
$table->wag_set($user, $msg);
- $to_room = sprintf('tra.add(%d, "%s");', $user->table, xcape(sprintf("%s: %s", $user->name, $msg)));
+ $to_user = sprintf('tra.add(%d, "%s");', $user->table, xcape(sprintf("%s: %s", $user->name, $msg)));
+ $to_room = $to_user;
} while (0);
} // /tav chat command