diff --git a/job.go b/job.go index 5aed523..3d88247 100644 --- a/job.go +++ b/job.go @@ -2272,7 +2272,8 @@ func jobShops(j Job) { out = fmt.Sprintf("%s %s", out, cwm.Link, cwm.User) if cwm.Mana < cwm.ManaTotal { - d := time.Duration((cwm.ManaTotal-cwm.Mana)/((cwm.ManaTotal/250)+1)) * time.Minute + t := (cwm.ManaTotal - cwm.Mana) / ((cwm.ManaTotal / 250) + 1) + d := time.Duration(t) * time.Minute out = fmt.Sprintf("%s %s\n", out, d.String()) } else { out = fmt.Sprintf("%s\n", out)