diff --git a/client/recv.js b/client/recv.js index 43faa7a..b72a925 100644 --- a/client/recv.js +++ b/client/recv.js @@ -235,7 +235,7 @@ async function handle_message(d) { storage.ctx0.clearRect(0, 0, storage.ctx0.canvas.width, storage.ctx0.canvas.height); elements.images.innerHTML = ''; - + storage.events.length = 0; for (let i = 0; i < event_count; ++i) { const event = des_event(d);