Don't send a message about the request for a rematch in single-player games.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@511 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2007-11-27 02:15:49 +00:00
parent a65d124da9
commit 55926ab3ea
@@ -92,7 +92,7 @@ public class EZGameManager extends GameManager
public void playerReady (BodyObject caller)
{
// if we're rematching...
if (!_ezObj.isInPlay() && (_ezObj.roundId != 0)) {
if (!_ezObj.isInPlay() && (_ezObj.roundId != 0) && _ezObj.players.length > 1) {
// report to the other players that this player requested a rematch
int pidx = _ezObj.getPlayerIndex(caller.getVisibleName());
if (pidx != -1 && _playerOids[pidx] == 0) {