Skip to content

Commit

Permalink
feat: disable fake events with POV demos
Browse files Browse the repository at this point in the history
  • Loading branch information
akiver committed Aug 6, 2024
1 parent 84db167 commit 2dd3935
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/api/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ func analyzeDemo(demoPath string, options AnalyzeDemoOptions) (*Match, error) {

parserConfig := dem.DefaultParserConfig
parserConfig.NetMessageDecryptionKey = demo.NetMessageDecryptionPublicKey
parserConfig.DisableMimicSource1Events = demo.Type == constants.DemoTypePOV

gameEventListBin, err := getGameEventListBinForProtocol(demo.NetworkProtocol)
if err != nil {
Expand Down

0 comments on commit 2dd3935

Please sign in to comment.