Skip to content

Commit

Permalink
Merge pull request #10 from bostrom/bug-fix
Browse files Browse the repository at this point in the history
Accidental bugs
  • Loading branch information
github-learning-lab[bot] committed Oct 16, 2020
2 parents e1c4082 + 839fcff commit 93515b6
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 93515b6

Please sign in to comment.