Fix parseNounOptions()

Set the proper variables for the "compound" and "simple" noun options.
This commit is contained in:
Zorchenhimer 2021-02-21 20:00:59 -05:00
parent 553b89cfe0
commit 4298ee1e67
Signed by: Zorchenhimer
GPG Key ID: 70A1AB767AAB9C20
1 changed files with 2 additions and 2 deletions

View File

@ -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