diff options
| -rw-r--r-- | game.js | 1 | 
1 files changed, 1 insertions, 0 deletions
| @@ -170,6 +170,7 @@ function startPhysicsLoop() {  		}  		if (ballX < -ballRadius) {  			socket.emit("ballout"); +			stopPhysicsLoop();  		}  	}, interval * 1000);  } | 
|  | index : pongmp | |
| Online multiplayer Pong | git daemon user | 
| aboutsummaryrefslogtreecommitdiff | 
| -rw-r--r-- | game.js | 1 | 
| @@ -170,6 +170,7 @@ function startPhysicsLoop() {  		}  		if (ballX < -ballRadius) {  			socket.emit("ballout"); +			stopPhysicsLoop();  		}  	}, interval * 1000);  } |