-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: janusweb
action: commit
revision:
path_from:
revision_from: ec67070b039b9bd40117f310db02b78d79522cf8:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit ec67070b039b9bd40117f310db02b78d79522cf8
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Wed Jan 31 22:53:28 2018 -0800

    Remove unused opts object and memory allocation

diff --git a/scripts/multiplayermanager.js b/scripts/multiplayermanager.js

index 32b129637296fdf9701eb1da34d5121c7b038b3e..

index ..a6ca9f13d64c2fb0f0579f631dbdf0ac47389592 100644

--- a/scripts/multiplayermanager.js
+++ b/scripts/multiplayermanager.js
@@ -194,12 +194,9 @@ console.log('[MultiplayerManager] set active room:', room, this.activeroom);
         return ret;
       }
     })();
-    this.sendUpdate = function(opts) {
+    this.sendUpdate = function() {
       if (!this.enabled) return;

-      if (!opts) opts = {};
-      // opts.first is a bool, if true then we are sending our avatar along with the move update
-      // else, we send the avatar on every 15th update
       var player = this.player,
           room = this.activeroom;

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 15:16:59 2024