Corrected bugs on replay and changed posts urls

This commit is contained in:
Thomas FORGIONE
2015-07-09 16:15:10 +02:00
parent e389d1fea8
commit 007da125ae
4 changed files with 14 additions and 14 deletions

View File

@@ -103,8 +103,6 @@ L3D.ReplayCamera.prototype.nextEvent = function() {
this.event = this.path[this.counter];
console.log(this.event.type);
if (this.event.type == 'camera') {
this.move(this.event);
} else if (this.event.type == 'coin') {
@@ -126,7 +124,8 @@ L3D.ReplayCamera.prototype.nextEvent = function() {
})(this);
} else if (this.event.type == 'previousnext') {
this.move(this.event);
} else if (this.event.type == 'hovered') {
} else {
// Ignore other events
this.nextEvent();
}
};