mirror of
https://github.com/demostf/demo.js
synced 2026-06-04 00:54:14 +02:00
update test data
The decoding should be a bit more reliable now so this snapshot should be "more correct"
This commit is contained in:
parent
79c4782806
commit
d8f01428c5
4 changed files with 6 additions and 10 deletions
|
|
@ -97,6 +97,8 @@ function writeEnterPVS(entity: PacketEntity, stream: BitStream, state: ParserSta
|
|||
|
||||
const propsToEncode = instanceBaseLine ? entity.diffFromBaseLine(instanceBaseLine) : entity.props;
|
||||
|
||||
// console.log(propsToEncode.map(prop => `${prop.definition.name}: ${prop.value}`));
|
||||
|
||||
const allProps = sendTable.flattenedProps;
|
||||
propsToEncode.sort((a, b) => allProps.findIndex(propDef => propDef.fullName === a.definition.fullName) -
|
||||
allProps.findIndex(propDef => propDef.fullName === b.definition.fullName));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue