1
0
Эх сурвалжийг харах

Bugfix: restore alien shots

Fabrice Ecaille 12 жил өмнө
parent
commit
f6ef50f071

+ 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");
 			}
 		});
 	},