Update cat.js

This commit is contained in:
James B. Pollack 2015-10-01 18:56:38 -07:00
parent 0ce6a305bd
commit a3c91b12b9

View file

@ -33,10 +33,11 @@ var _this;
update: function() { update: function() {
if (_this.injector !== null) { if (_this.injector !== null) {
_this.isMeowing = this.injector.isPlaying; _this.isMeowing = this.injector.isPlaying;
if (_this.isMeowing === false) {
_this.injector = null;
}
} }
if (_this.isMeowing === false) {
_this.injector = null;
}
}, },
meow: function() { meow: function() {