Don't wrap store data in array

This commit is contained in:
Joe Ksiazek 2018-01-25 14:48:46 -05:00
parent 8951667903
commit 22049133d5

View file

@ -24,7 +24,7 @@ export default class{
Emitter.emit(packet.data[0], packet.data[1]); Emitter.emit(packet.data[0], packet.data[1]);
if(this.store) this.passToStore('SOCKET_'+packet.data[0], [ ...packet.data.slice(1)]) if(this.store) this.passToStore('SOCKET_'+packet.data[0], ...packet.data.slice(1))
}; };
let _this = this; let _this = this;