diff --git a/english.go b/english.go index 0f73945..c9b95a1 100644 --- a/english.go +++ b/english.go @@ -162,9 +162,9 @@ func (g *english) parseNounOptions(optlist []string) (bool, bool) { var compound bool = rand.Int() % 2 == 0 if sliceContains(optlist, "compound") { - plural = true + compound = true } else if sliceContains(optlist, "simple") { - plural = false + compound = false } return plural, compound