File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ import (
1818// A frame can contain multiple ticks (usually 2 or 4) if the tv_snapshotrate differs from the tick-rate the game was played at.
1919type FrameDone struct {}
2020
21- // RecordingPlayerDetected signals that a player started recording the demo locally.
21+ // POVRecordingPlayerDetected signals that a player started recording the demo locally.
2222// If this event is dispatched, it means it's a client-side (POV) demo.
23- type RecordingPlayerDetected struct {
23+ type POVRecordingPlayerDetected struct {
2424 PlayerSlot int
2525 PlayerInfo common.PlayerInfo
2626}
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ func (p *parser) processStringTable(tab *msg.CSVCMsg_CreateStringTable) {
241241
242242 if p .header .ClientName == player .Name {
243243 p .recordingPlayerSlot = entryIndex
244- p .eventDispatcher .Dispatch (events.RecordingPlayerDetected {PlayerSlot : entryIndex , PlayerInfo : player })
244+ p .eventDispatcher .Dispatch (events.POVRecordingPlayerDetected {PlayerSlot : entryIndex , PlayerInfo : player })
245245 }
246246
247247 p .setRawPlayer (entryIndex , player )
You can’t perform that action at this time.
0 commit comments