Skip to content

Commit

Permalink
Merge pull request #4 from arbeyperezr/fix-game-background
Browse files Browse the repository at this point in the history
Hotfix for broken game style
  • Loading branch information
arbeyperezr authored Feb 16, 2024
2 parents 1113474 + c648636 commit 9b24af5
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 @@ -125,7 +125,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 9b24af5

Please sign in to comment.