Skip to content

Commit

Permalink
updated demoinfocs library to latest minor version
Browse files Browse the repository at this point in the history
  • Loading branch information
Linus4 committed Jul 10, 2020
1 parent 16bc328 commit 676d42b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 4 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ require (
github.com/golang/geo v0.0.0-20200319012246-673a6f80352d
github.com/jung-kurt/gofpdf v1.16.2 // indirect
github.com/llgcode/draw2d v0.0.0-20200110163050-b96d8208fcfc // indirect
github.com/markus-wa/demoinfocs-golang v1.8.1
github.com/markus-wa/demoinfocs-golang v1.11.0
github.com/markus-wa/godispatch v1.3.0 // indirect
github.com/markus-wa/quickhull-go v0.0.0-20190116183559-9fb9702adbda // indirect
github.com/phpdave11/gofpdi v1.0.11 // indirect
github.com/pkg/errors v0.9.1 // indirect
Expand All @@ -22,3 +23,5 @@ require (
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
gopkg.in/yaml.v2 v2.2.8 // indirect
)

go 1.13
6 changes: 6 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,20 @@ github.com/markus-wa/demoinfocs-golang v1.7.5 h1:tI1D2HJQPmX9ufR/f16vn5wLUxrqiwG
github.com/markus-wa/demoinfocs-golang v1.7.5/go.mod h1:z4ZhJzjayrtPIMvpKyumA5lHz+IqDOvwcBzqw9m5N7g=
github.com/markus-wa/demoinfocs-golang v1.8.1 h1:9aOO3kAQpxLg6TcYcGdzIKYz/mFy7sLgqisI+FAnJLY=
github.com/markus-wa/demoinfocs-golang v1.8.1/go.mod h1:FHn7VZD46mpI97+n5t9OKbcBQRLsF2yrOV+DOnn/NwE=
github.com/markus-wa/demoinfocs-golang v1.11.0 h1:0VSWmeZ8kOeQIpit1+Kisf2KLtcCosNTjzPxhQkDdO8=
github.com/markus-wa/demoinfocs-golang v1.11.0/go.mod h1:89I5cRCmxICDQHt0KzWURFhGgKstC1rwqUrsmVckDcM=
github.com/markus-wa/go-unassert v0.1.1 h1:Bn7NfuD85DFdUoGQREI3PWNT1m0THYbYazHmOVIPNYQ=
github.com/markus-wa/go-unassert v0.1.1/go.mod h1:XEvrxR+trvZeMDfXcZPvzqGo6eumEtdk5VjNRuvvzxQ=
github.com/markus-wa/go-unassert v0.1.2 h1:uXWlMDa8JVtc4RgNq4XJIjyRejv9MOVuy/E0VECPxxo=
github.com/markus-wa/go-unassert v0.1.2/go.mod h1:XEvrxR+trvZeMDfXcZPvzqGo6eumEtdk5VjNRuvvzxQ=
github.com/markus-wa/gobitread v0.2.2 h1:4Z4oJ8Bf1XnOy6JZ2/9AdFKVAoxdq7awRjrb+j2BeSQ=
github.com/markus-wa/gobitread v0.2.2/go.mod h1:PcWXMH4gx7o2CKslbkFkLyJB/aHW7JVRG3MRZe3PINg=
github.com/markus-wa/godispatch v1.1.0 h1:J8O+hRkOCexDUQevaSKWDtKeZ3+HcmbEUKY1uYraAjY=
github.com/markus-wa/godispatch v1.1.0/go.mod h1:6o18u24oo58yseMXYD0zQFI6LbSkjJSSBQ4YyDqFX5c=
github.com/markus-wa/godispatch v1.2.1 h1:Bj6blK4xJ/72pDi0rprVYluOGW9CV55FUDFPApyw91Q=
github.com/markus-wa/godispatch v1.2.1/go.mod h1:GNzV7xdnZ9+VBi0z+hma9oUQrJmtqRrqyAuGKTTTcKY=
github.com/markus-wa/godispatch v1.3.0 h1:eHT5Xm8ZEwilj9b/Tu7gyMfmtSau+yC0qpM7NRR+CQk=
github.com/markus-wa/godispatch v1.3.0/go.mod h1:GNzV7xdnZ9+VBi0z+hma9oUQrJmtqRrqyAuGKTTTcKY=
github.com/markus-wa/quickhull-go v0.0.0-20190116183559-9fb9702adbda h1:F7blFtp+y3qD7GE+9mY3YLtUGnmE+6CSlwwAxEl/q5Y=
github.com/markus-wa/quickhull-go v0.0.0-20190116183559-9fb9702adbda/go.mod h1:gMPnFb0DpuzRpbHesp64Nq4oFXE5SglAD86nlKrkETs=
github.com/markus-wa/quickhull-go/v2 v2.1.0 h1:DA2pzEzH0k5CEnlUsouRqNdD+jzNFb4DBhrX4Hpa5So=
Expand Down
1 change: 1 addition & 0 deletions match/match.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func NewMatch(demoFileName string, fallbackFrameRate, fallbackTickRate float64)
defer demo.Close()

parser := dem.NewParser(demo)
defer parser.Close()
header, err := parser.ParseHeader()
if err != nil {
return nil, err
Expand Down

0 comments on commit 676d42b

Please sign in to comment.