Skip to content

Commit ac0bf6a

Browse files
David AttleeDavid Attlee
authored andcommitted
Change number of asteroid fragments from 3 to 2
1 parent 3884eab commit ac0bf6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

game.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ Asteroid = function () {
674674
this.scale /= 3;
675675
if (this.scale > 0.5) {
676676
// break into fragments
677-
for (var i = 0; i < 3; i++) {
677+
for (var i = 0; i < 2; i++) {
678678
var roid = $.extend(true, {}, this);
679679
roid.vel.x = Math.random() * 6 - 3;
680680
roid.vel.y = Math.random() * 6 - 3;

0 commit comments

Comments
 (0)