-- 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: 36a67ffbd1293219330940a5485d59fe16fb5ea6:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit 36a67ffbd1293219330940a5485d59fe16fb5ea6
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Wed Jan 31 23:26:06 2018 -0800

    room.party_mode

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

index e7f2584bd32cb54657fcdbf8928d68ca6f02026d..

index ..962131818ddc9c6389daa3a14693ec5d0476ed13 100644

--- a/scripts/room.js
+++ b/scripts/room.js
@@ -34,6 +34,7 @@ elation.require([
         'pbr': { type: 'boolean', default: false },
         'bloom': { type: 'float', default: 0.4, set: this.updateBloom },
         'shadows': { type: 'bool', default: false, set: this.updateShadows },
+        'party_mode': { type: 'bool', default: true },
         'walk_speed': { type: 'float', default: 1.0 },
         'run_speed': { type: 'float', default: 2.0 },
         'jump_velocity': { type: 'float', default: 5.0 },
@@ -642,6 +643,7 @@ elation.require([
         this.fog_col = room.fog_col || room.fog_color;
         this.properties.bloom = room.bloom || 0.4;
         this.properties.shadows = elation.utils.any(room.shadows, false);
+        this.properties.party_mode = elation.utils.any(room.party_mode, true);
         this.properties.locked = room.locked;
         this.gravity = elation.utils.any(room.gravity, 0);
         //if (room.col) this.properties.col = room.col;

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

-- Response ended

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