Fix excess divider mess in message display.
This commit is contained in:
		| @@ -206,14 +206,11 @@ func displayMessageSection[C StatsCollection](p *Player[C]) bool { | ||||
| 	if len(p.TemporaryMessages) == 0 { | ||||
| 		return false | ||||
| 	} | ||||
| 	hasPrevious := false | ||||
| 	for _, m := range p.TemporaryMessages { | ||||
| 		if m != nil { | ||||
| 			if hasPrevious { | ||||
| 				lightDivider() | ||||
| 			} | ||||
| 			display(m) | ||||
| 			hasPrevious = true | ||||
| 		} else { | ||||
| 			fmt.Println() | ||||
| 		} | ||||
| 	} | ||||
| 	return true | ||||
|   | ||||
		Reference in New Issue
	
	Block a user