Update: CC - Before Render - Moorcow (autqzs1rvq.js) 33 bytes modified

beta.r3js.org
-=yb4f310 2017-11-19 19:05:42 +01:00
parent 0fb6ab8f5a
commit b1f6daa5bb
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@
this.score = 0;
this.lives = 10;
if (this.enemies.length !== 0) {
if (this.enemies instanceof Array && this.enemies.length !== 0) {
this.enemies.map(
function(enemy) {
this.kill(enemy);