diff --git a/ip0443a52d.js b/ip0443a52d.js index 8e487d7..6994295 100644 --- a/ip0443a52d.js +++ b/ip0443a52d.js @@ -3,25 +3,12 @@ if (!this.entityLoaded) { } if (!this.initialized) { - - this.currentImageIndex = 0; - this.initialized = true; - console.log('key up initialized'); } if (data.code === 'KeyL') { - - if (this.currentImageIndex === this.images.length) { - this.currentImageIndex = 0; - }; - - var attributeData = this.generateAttributeData(this.currentImageIndex, 128, 128); - - this.currentImageIndex++; - - this.startAnimation(attributeData); + this.loadNext(); } //@ sourceURL=ccKeyUp.js \ No newline at end of file