No more errors with DB in sponza streaming

This commit is contained in:
Thomas FORGIONE
2015-09-29 15:18:23 +02:00
parent dfd9b8b3d9
commit 35a8055fc6
2 changed files with 4 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ L3D.DB.Private.sendData = function(url, data, force) {
* @memberof L3D.DB.Private
* @type {Boolean}
*/
L3D.DB.Private.enabled = true;
L3D.DB.Private.enabled = !window.DB_DISABLED;
/**
* Enables the requests