@ -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);
@ -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)) {