Fixed bee descriptions using wrong key (closes #50)

This commit is contained in:
bdew committed 2014-09-18 17:53:01 +03:00
1 parent 9621434401
commit 3ff567f0c3
1 file changed
+2 -2
@@ -56,8 +56,8 @@ class BeeSpecies(cfg: ConfigSection, ident: String) extends IAlleleBeeSpecies {
override val getAuthority = cfg.getString("Authority")
override val getBinomial = cfg.getString("Binominal")
override val getDescription =
if (Misc.hasLocal("gendustry.bee.species." + ident + ".description"))
Misc.toLocal("gendustry.bee.species." + ident + ".description")
if (Misc.hasLocal("gendustry.bees.species." + ident + ".description"))
Misc.toLocal("gendustry.bees.species." + ident + ".description")
else ""
// IAlleleBeeSpecies