1
0
Fork 0
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:
Robin Appelman 2017-02-14 20:51:04 +01:00
commit 95b9fb55c7
4 changed files with 18 additions and 5 deletions

View 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;
}