We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b26dacd + 38c2655 commit cc60829Copy full SHA for cc60829
pkg/demoinfocs/s2_commands.go
@@ -320,7 +320,7 @@ func (p *parser) handleDemoPacket(pack *msgs2.CDemoPacket) {
320
ms = append(ms, pendingMessage{t, buf})
321
}
322
323
- sort.Slice(ms, func(i, j int) bool {
+ sort.SliceStable(ms, func(i, j int) bool {
324
return ms[i].priority() < ms[j].priority() // TODO: taken from dotabuff/manta. do we really need this?
325
})
326
0 commit comments