actually fix text separators

This commit is contained in:
Kistaro Windrider 2023-11-18 18:54:39 -08:00
parent 3695f2704b
commit 52684daefe
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -53,12 +53,12 @@ type textEmitter struct {
}
func (t *textEmitter) Emit(summary *auctionsim.ResultSummary) {
if !t.notFirst {
if t.notFirst {
fmt.Println()
fmt.Println("-----------------")
fmt.Println()
t.notFirst = true
}
t.notFirst = true
fmt.Printf("The auction winner paid ¤%f. They have %s.\n", summary.Price, deltaStr(summary.WinnerProfit))
fmt.Printf("The item was worth ¤%f to them.\n", summary.WinnerValue)
fmt.Printf("They would have paid up to ¤%f for it.\n", summary.WinnerMaxBid)