Corrected bugs and JsHint
This commit is contained in:
@@ -33,7 +33,7 @@ L3D.ReplayCamera.prototype.start = function() {
|
||||
this.counter = 0;
|
||||
this.started = true;
|
||||
this.nextEvent();
|
||||
}
|
||||
};
|
||||
|
||||
// Update function
|
||||
L3D.ReplayCamera.prototype.update = function(time) {
|
||||
|
||||
@@ -217,11 +217,13 @@ L3D.resetBobombElements = function() {
|
||||
|
||||
L3D.generateCoins = function(totalCoins, coin_ids) {
|
||||
|
||||
var i = 0;
|
||||
|
||||
if (coin_ids === undefined)
|
||||
L3D.shuffle(totalCoins);
|
||||
else {
|
||||
|
||||
for (var i = 0; i < coin_ids.length; i++) {
|
||||
for (i = 0; i < coin_ids.length; i++) {
|
||||
|
||||
for (var j = 0; j < totalCoins.length; j++) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user