Browse Source

Fix: Computing score in cross when using spaces

MOODLE_20_STABLE
bdaloukas 12 years ago
parent
commit
3d37cc8c9b
  1. 4
      cross/crossdb_class.php
  2. 4
      version.php

4
cross/crossdb_class.php

@ -212,8 +212,8 @@ function game_cross_computecheck( $correctletters, $wrongletters, $restletters,
$correctletters++;
}else
{
$wrongletters++;
game_setchar( $guess, $i, '_');
//$wrongletters++;
//game_setchar( $guess, $i, '_');
}
}else
{

4
version.php

@ -11,7 +11,7 @@
defined('MOODLE_INTERNAL') || die();
$module->component = 'mod_game'; // Full name of the plugin (used for diagnostics)
$module->version = 2013072602; // The current module version (Date: YYYYMMDDXX)
$module->version = 2013072603; // 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 = '3.7.26.2';
$module->release = '3.7.26.3';

Loading…
Cancel
Save