From 41d4517ce74ea4bb6129bc282121c1ff5c3e08e8 Mon Sep 17 00:00:00 2001 From: bdaloukas Date: Sun, 27 Jan 2013 13:00:12 +0200 Subject: [PATCH] Cross: Set N20 at least 15 (usefull when contains only small words) --- cross/cross_class.php | 2 ++ version.php | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cross/cross_class.php b/cross/cross_class.php index e1fb65e..5c968db 100755 --- a/cross/cross_class.php +++ b/cross/cross_class.php @@ -67,6 +67,8 @@ class Cross } $N20 = $maxlen; + if( $N20 < 15) + $N20 = 15; $this->m_N20min = round( $N20 - $N20/4); $this->m_N20max = round( $N20 + $N20/4); diff --git a/version.php b/version.php index 57db10e..b01010a 100755 --- a/version.php +++ b/version.php @@ -11,7 +11,7 @@ defined('MOODLE_INTERNAL') || die(); $module->component = 'mod_game'; // Full name of the plugin (used for diagnostics) -$module->version = 2013012601; // The current module version (Date: YYYYMMDDXX) +$module->version = 2013012701; // The current module version (Date: YYYYMMDDXX) $module->requires = 2010112400; // Requires Moodle 2.0 $module->cron = 0; // Period for cron to check this module (secs) -$module->release = 'v.2.13.26 (2013012601)'; +$module->release = 'v.2.13.27 (2013012701)';