fix: super
This commit is contained in:
parent
61b2c08dac
commit
aab17617c0
|
@ -36,14 +36,14 @@ export default (key) => (Superclass) => {
|
|||
? (data) => {
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
data[key] = packToUint32(data[key]);
|
||||
return data;
|
||||
return Superclass.pack(data);
|
||||
}
|
||||
: (data) => packToUint32(data);
|
||||
PackedVectorPacket.unpack = key
|
||||
? (data) => {
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
data[key] = unpackFromUint32(data[key]);
|
||||
return data;
|
||||
return Superclass.pack(data);
|
||||
}
|
||||
: (data) => unpackFromUint32(data);
|
||||
return PackedVectorPacket;
|
||||
|
|
Loading…
Reference in New Issue
Block a user