Skip to content

Commit

Permalink
Fix game_skill_title
Browse files Browse the repository at this point in the history
  • Loading branch information
greensnark committed Feb 15, 2016
1 parent 759bae6 commit 44322fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Henzell/Game.pm
Expand Up @@ -67,7 +67,7 @@ sub game_skill_title
my $game_ref = shift;
my $title = $game_ref->{title};
$title = skill_farming($title) if $game_ref->{turn} > 200000;
my $article = "La" if $title =~ /petite/i else "the";
my $article = ($title =~ /petite/i ? "La" : "the");
$title = $article . " " . $title unless $title =~ /^(the|le|la|l')\b/i;
return $title;
}
Expand Down

0 comments on commit 44322fb

Please sign in to comment.