repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 816a395df8cc53c7abc02e59c4481fedcce8a7e9:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 816a395df8cc53c7abc02e59c4481fedcce8a7e9
Author: James Baicoianu 
Date:   Sat Jul 18 18:11:29 2020 -0700

    Fix light double-creation bug

diff --git a/scripts/room.js b/scripts/room.js
index f3d94c048c8efcf0ff0eb3702e37ea9e164bebfe..
index ..b8670291a60af94da0d61b939626b7e4f61e71a4 100644
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -136,7 +136,6 @@ elation.require([
       elation.events.add(this, 'thing_remove', elation.bind(this, this.onThingRemove));
     }
     this.createChildren = function() {
-      this.createLights();
       this.collidable = false;
       this.setCollider('sphere', {radius: 1e4});

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