From d6e78ab1c534675fdaf838c17375850f414d4c3e Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Sat, 4 Apr 2009 16:15:46 +0000 Subject: [PATCH] 'alarm bug' fixed --- web/Obj/brisk.phh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 14c071d..4fefa54 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -717,6 +717,9 @@ class Room { $curtime = time(); if ($force || $this->garbage_timeout < $curtime) { + // FIXME BRISK4: include for each kind of table + require_once("briskin5/Obj/briskin5.phh"); + // Before all align times with table timeout for ($table_idx = 0 ; $table_idx < TABLES_N ; $table_idx++) { $table_cur =& $this->table[$table_idx]; @@ -1489,6 +1492,8 @@ class Room { } if ($to_tabl) { + // FIXME BRISK4: include for each kind of table + require_once("briskin5/Obj/briskin5.phh"); // Before all align times with table timeout for ($table_idx = 0 ; $table_idx < TABLES_N ; $table_idx++) { $table_cur =& $this->table[$table_idx]; @@ -1664,6 +1669,8 @@ class Room { // If user at the table we need to update the table data too $table_idx = $ghost_user->table; if ($ghost_user->stat == "table" && $this->table[$table_idx]->player_n == PLAYERS_N) { + // FIXME BRISK4: include for each kind of table + require_once("briskin5/Obj/briskin5.phh"); if (($brisem = Briskin5::lock_data($table_idx)) != FALSE) { if (($bri = &Briskin5::load_data($table_idx)) != FALSE) { if ($bri->the_end != TRUE) { -- 2.17.1