Skip to content

Commit 6cf1563

Browse files
committed
Warn for missing GameEventDescriptors
1 parent 5c19940 commit 6cf1563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packet_handlers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ func (p *Parser) handleGameEventList(gel *msg.CSVCMsg_GameEventList) {
8787
}
8888

8989
func (p *Parser) handleGameEvent(ge *msg.CSVCMsg_GameEvent) {
90-
// TODO: Do we really need to do this check?
9190
if p.gehDescriptors == nil {
91+
p.warn("Received GameEvent but event descriptors are missing")
9292
return
9393
}
9494

0 commit comments

Comments
 (0)