diff --git a/scripts/poker_cards.js b/scripts/poker_cards.js index 49a51b9..5d788cb 100644 --- a/scripts/poker_cards.js +++ b/scripts/poker_cards.js @@ -187,18 +187,6 @@ } } - // ── web entity event listener ──────────────────────────────── - - function onWebEventReceived(id, data) { - if (id !== _rendererID) return; - try { - var msg = JSON.parse(data); - if (msg.type === "cardTexture") { - onTextureReady(msg.dataURI); - } - } catch(e) {} - } - // ── lifecycle ──────────────────────────────────────────────── this.preload = function(entityID) {