Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xingxinggeng authored Mar 14, 2018
1 parent 584b4b4 commit 9d19109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edu/ucsb/cs56/projects/games/pong/gameplay/Screen.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public void draw(Graphics g){
}

//If all the balls have stopped then pause the game
if(Pong.isPaused) {
if(game.checkBallStopped()) {
g.drawString( "Game Paused", Screen.w/2 - 100, Screen.h/2 - 100 );
g.drawString( "Press M to return to Main Menu", Screen.w/2 - 220, Screen.h/2 + 100 );
}
Expand Down

0 comments on commit 9d19109

Please sign in to comment.