Corrected database

This commit is contained in:
Thomas FORGIONE
2015-08-25 09:25:45 +02:00
parent 82f7a7268a
commit 5f3b2e1862
10 changed files with 29 additions and 50 deletions

View File

@@ -48,6 +48,8 @@ saveCoins = function() {
};
function main() {
// Some config
L3D.DB.disable();
// Main container that holds everything
container = document.getElementById('container');
@@ -63,9 +65,6 @@ function main() {
// Set the good size of cameras
onWindowResize();
// Some config
L3D.DB.disable();
Coin.update();
startCanvas.render(L3D.StartCanvas.Black);

View File

@@ -43,6 +43,11 @@ function initThreeElements() {
function init(data) {
console.log(data);
// Some config
L3D.DB.disable();
// Initialize stats counter
stats = new Stats();
stats.setMode(0);