diff --git a/cross/cross_class.php b/cross/cross_class.php index fcc44d5..ec97248 100755 --- a/cross/cross_class.php +++ b/cross/cross_class.php @@ -130,8 +130,9 @@ class Cross $nochange = 0; $this->mtimelimit = $mtimelimit; - if( $this->mtimelimit == 30) + if ($this->mtimelimit == 30) { $this->mtimelimit = 27; + } for (;;) { // Selects the size of the cross. $n20 = mt_rand( $this->mn20min, $this->mn20max); diff --git a/mod_form.php b/mod_form.php index 84441dd..a050241 100755 --- a/mod_form.php +++ b/mod_form.php @@ -454,7 +454,7 @@ class mod_game_mod_form extends moodleform_mod { if ($defaultvalues->param5 == null) { $defaultvalues->param5 = 1; } - } + } if ($defaultvalues->gamekind == 'snakes') { if (isset( $defaultvalues->param9)) {