teeworlds 2.1.9 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +3 -0
- package/lib/client.ts +2 -0
- package/package.json +1 -1
package/lib/client.js
CHANGED
package/lib/client.ts
CHANGED
|
@@ -538,6 +538,8 @@ export class Client extends EventEmitter {
|
|
|
538
538
|
// console.log("bad name", this.client_infos[a.id], toHexStream(mergedSnaps), chunk, AckGameTick, DeltaTick, crc, part_size);
|
|
539
539
|
// }
|
|
540
540
|
// console.log(this.client_infos[a.id])
|
|
541
|
+
} else if (a.type_id == items.OBJ_PLAYER_INFO) {
|
|
542
|
+
this.player_infos[a.id] = a.parsed as PlayerInfo;
|
|
541
543
|
}
|
|
542
544
|
})
|
|
543
545
|
}
|