Skip to content

Commit

Permalink
Merge pull request #12 from fernandozpiccin/bug-fix
Browse files Browse the repository at this point in the history
Backport the hotfix
  • Loading branch information
github-learning-lab[bot] authored Jan 26, 2021
2 parents eb3443d + 8219a5a commit 6dfc0dc
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 6dfc0dc

Please sign in to comment.