Skip to content

Commit

Permalink
Merge pull request #10 from woter1832/bug-fix
Browse files Browse the repository at this point in the history
Accidental bugs
  • Loading branch information
github-learning-lab[bot] authored Sep 23, 2020
2 parents 5cbd995 + d7cb3a9 commit bc0c312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ var Starfield = function(speed,opacity,numStars,clear) {
// If the clear option is set,
// make the background black instead of transparent
if(clear) {
starCtx.fillStyle = "#0F0";
starCtx.fillStyle = "#000";
starCtx.fillRect(0,0,stars.width,stars.height);
}

Expand Down

0 comments on commit bc0c312

Please sign in to comment.