return color by string, added rounds since maxrounds is not defined in pre-riptide matches
This commit is contained in:
@@ -274,7 +274,7 @@ func (p *DemoParser) parseWorker() {
|
||||
tMatchPlayer := p.getMatchPlayerBySteamID(tStats, demoPlayer.SteamID64)
|
||||
|
||||
tMatchPlayer.Extended.Crosshair = demoPlayer.CrosshairCode()
|
||||
tMatchPlayer.Extended.Color = int(demoPlayer.Color())
|
||||
tMatchPlayer.Extended.Color = demoPlayer.Color().String()
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user