Fix parseNounOptions()
Set the proper variables for the "compound" and "simple" noun options.
This commit is contained in:
		
							parent
							
								
									553b89cfe0
								
							
						
					
					
						commit
						4298ee1e67
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue