From 4cd9e4daf9196aa7d24d39f373fca8e899148891 Mon Sep 17 00:00:00 2001 From: Sunpy Date: Thu, 1 Aug 2019 01:23:19 +0200 Subject: [PATCH] THIS --- www/js/fly-ws.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/fly-ws.js b/www/js/fly-ws.js index 80a019a..4f15f54 100644 --- a/www/js/fly-ws.js +++ b/www/js/fly-ws.js @@ -33,7 +33,7 @@ class FLYSocket { let packetID = data.getInt8(this.pointer++); packets.push({ packetID: packetID, - value: (this["handle_packet" + packetID] || this.handle_packetInvalid)(data) + value: (this["handle_packet" + packetID] || this.handle_packetInvalid).call(this, data) }); }