From 995b984df0dbfd59e8d6bc1727d35cde44e52001 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Tue, 25 Feb 2014 18:37:52 +0100 Subject: [PATCH] minimum games number to be added to placements reduced to 0 in development environment --- web/briskin5/Obj/placing.phh | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/web/briskin5/Obj/placing.phh b/web/briskin5/Obj/placing.phh index fd932b4..ad69d50 100644 --- a/web/briskin5/Obj/placing.phh +++ b/web/briskin5/Obj/placing.phh @@ -25,15 +25,24 @@ define('TOP_NUM', 10); define('TRI_LIMIT', (90 * 24 * 60 * 60)); -define('TRI_MIN_GAMES', 70); +if (BIN5_PLAYERS_N != 5) + define('TRI_MIN_GAMES', 0); +else + define('TRI_MIN_GAMES', 70); define('TRI_MAX_GAMES', 140); define('MON_LIMIT', (30 * 24 * 60 * 60)); -define('MON_MIN_GAMES', 35); +if (BIN5_PLAYERS_N != 5) + define('MON_MIN_GAMES', 0); +else + define('MON_MIN_GAMES', 35); define('MON_MAX_GAMES', 70); define('WEE_LIMIT', (7 * 24 * 60 * 60)); -define('WEE_MIN_GAMES', 10); +if (BIN5_PLAYERS_N != 5) + define('WEE_MIN_GAMES', 0); +else + define('WEE_MIN_GAMES', 10); define('WEE_MAX_GAMES', 35); -- 2.17.1