repo: janusweb action: commit revision: path_from: revision_from: e2c8d67073170cec5ede5c57e1acde8778c8360c: path_to: revision_to:
commit e2c8d67073170cec5ede5c57e1acde8778c8360c Author: James BaicoianuDate: Tue Mar 10 23:21:39 2020 -0700 room.locked defaults to false (force boolean instead of undefined)) diff --git a/scripts/room.js b/scripts/room.js
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -761,7 +761,7 @@ elation.require([
this.properties.tonemapping_whitepoint = room.tonemapping_whitepoint || this.tonemapping_whitepoint;
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.properties.locked = room.locked || false;
this.gravity = elation.utils.any(room.gravity, 0);
this.flying = elation.utils.any(room.flying, true);
this.teleport = elation.utils.any(room.teleport, true);
-----END OF PAGE-----