fix current marker\n\nupdate when a mod is replaces, should be the newest
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Stefan Schwarz 2020-12-28 11:31:54 +01:00
parent 578160db28
commit fed9a89d9d
1 changed files with 1 additions and 1 deletions

View File

@ -92,8 +92,8 @@ func (c *Counter) countViewers(part string) {
if c.names[mod] != part { if c.names[mod] != part {
c.counters[mod] = 0 c.counters[mod] = 0
}
c.current = i c.current = i
}
c.counters[mod] += 1 c.counters[mod] += 1
c.names[mod] = part c.names[mod] = part
} }