Skip to content

Commit c20a759

Browse files
Merge pull request githubtraining#10 from hectorsector/bug-fix
Accidental bugs
2 parents cef3ddd + e212422 commit c20a759

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
@@ -91,7 +91,7 @@ var Starfield = function(speed,opacity,numStars,clear) {
9191
// If the clear option is set,
9292
// make the background black instead of transparent
9393
if(clear) {
94-
starCtx.fillStyle = "#0F0";
94+
starCtx.fillStyle = "#000";
9595
starCtx.fillRect(0,0,stars.width,stars.height);
9696
}
9797

0 commit comments

Comments
 (0)