updated dep, check only for steamid

This commit is contained in:
2021-10-22 03:53:39 +02:00
parent 09571fc447
commit c44c41cde7
3 changed files with 16 additions and 13 deletions

View File

@@ -280,7 +280,7 @@ func (p *DemoParser) parseWorker() {
// onRankUpdate
demoParser.RegisterEventHandler(func(e events.RankUpdate) {
if e.Player != nil && e.SteamID64() != 0 {
if e.SteamID64() != 0 {
tMatchPlayer := p.getMatchPlayerBySteamID(tStats, e.SteamID64())
tMatchPlayer.RankOld = e.RankOld