Explorar o código

Bugfix: restore alien shots

Fabrice Ecaille %!s(int64=12) %!d(string=hai) anos
pai
achega
f6ef50f071
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      js/spaceinvaders-core.js

+ 1 - 1
js/spaceinvaders-core.js

@@ -183,7 +183,7 @@ Game = {
 		$.each(Game.aliens, function(index, alien ) {
 			alien.move();
 			if( alien.health > 0 && Math.random() < alien.aggression ) {
-				//alien.fire($("#aliensShots"), "alienShot");
+				alien.fire($("#aliensShots"), "alienShot");
 			}
 		});
 	},