1
0
Fork 0
mirror of https://github.com/demostf/demo.js synced 2026-06-04 00:54:14 +02:00

dont mutate the match state when parsing datatables

This commit is contained in:
Robin Appelman 2017-02-14 22:26:21 +01:00
commit fc6d758a31
5 changed files with 55 additions and 26 deletions

View file

@ -0,0 +1,7 @@
import {DataTablePacket} from "../Data/Packet";
import {Match} from "../Data/Match";
export function handleDataTable(packet: DataTablePacket, match: Match) {
match.sendTables = packet.tables;
match.serverClasses = packet.serverClasses;
}