laneya2

cave exploration game
git clone https://git.ce9e.org/laneya2.git

commit
5ee1fc0199f99bd37e00607ea234e32e2949764e
parent
b42cecfae175983c913d65323f943d8a8e327c35
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-09-25 04:48
cleanup dead code

Diffstat

M static/main.js 2 --

1 files changed, 0 insertions, 2 deletions


diff --git a/static/main.js b/static/main.js

@@ -203,8 +203,6 @@ socket.onmessage = function(event) {
  203   203         } else if (msg.action === 'setLevel') {
  204   204             game.rects = msg.rects;
  205   205             game.ladder = msg.ladder;
  206    -1             game.horizontal = msg.horizontal;
  207    -1             game.vertical = msg.vertical;
  208   206             game.seen = {};
  209   207             for (const [id, obj] of Object.entries(game.objects)) {
  210   208                 if (obj.type !== 'player') {