-- 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: 48147b9aa678d68cc476bd6ddd098342e36b963d:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit 48147b9aa678d68cc476bd6ddd098342e36b963d
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Wed Sep 18 08:02:56 2019 -0700

    Set player visible if selfavatar is set

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

index d7c70cdc443889212b4c0ccb0ba25ce69b7d18b6..

index ..ae7bf95f9b269ca25af3ce6633d8adab60f40d60 100644

--- a/scripts/janusplayer.js
+++ b/scripts/janusplayer.js
@@ -432,6 +432,7 @@ elation.require(['engine.things.player', 'janusweb.external.JanusVOIP', 'ui.butt
       if (!this.room.selfavatar && this.ghost) {
         this.ghost.die();
         this.ghost = false;
+        this.visible = false;
       } else if (!this.ghost && this.room.selfavatar) {
         let avatar = this.getAvatarData();
         if (avatar) {
@@ -441,6 +442,7 @@ elation.require(['engine.things.player', 'janusweb.external.JanusVOIP', 'ui.butt
             showlabel: false
           });
         }
+        this.visible = true;
       }
       //room.add(this);
       this.updateGravity();

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

-- Response ended

-- Page fetched on Sun Jun 2 16:53:54 2024