mirror of
https://github.com/demostf/demo.js
synced 2026-06-04 00:54:14 +02:00
dont modify match state in gameevent packet handler
This commit is contained in:
parent
7cb74d93de
commit
95b9fb55c7
4 changed files with 18 additions and 5 deletions
6
src/PacketHandler/GameEventList.ts
Normal file
6
src/PacketHandler/GameEventList.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import {GameEventListPacket} from "../Data/Packet";
|
||||
import {Match} from "../Data/Match";
|
||||
|
||||
export function handleGameEventList(packet: GameEventListPacket, match: Match) {
|
||||
match.eventDefinitions = packet.eventList;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue