repo: janusweb action: commit revision: path_from: revision_from: c437b7957474b7b3556dc0b956fce88cb192bae6: path_to: revision_to:
commit c437b7957474b7b3556dc0b956fce88cb192bae6 Author: James BaicoianuDate: Tue Mar 10 23:21:13 2020 -0700 Fix ambient light setting diff --git a/scripts/room.js b/scripts/room.js
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -158,7 +158,7 @@ elation.require([
this.createLights = function() {
this.roomlights = {
ambient: this.spawn('light_ambient', this.id + '_ambient', {
- color: this.properties.ambient._target
+ color: this.properties.ambient
}),
directional: this.spawn('light_directional', this.id + '_sun', {
position: [-20,50,25],
-----END OF PAGE-----