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:
@@ -92,7 +92,7 @@ public class EZGameManager extends GameManager
|
|||||||
public void playerReady (BodyObject caller)
|
public void playerReady (BodyObject caller)
|
||||||
{
|
{
|
||||||
// if we're rematching...
|
// 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
|
// report to the other players that this player requested a rematch
|
||||||
int pidx = _ezObj.getPlayerIndex(caller.getVisibleName());
|
int pidx = _ezObj.getPlayerIndex(caller.getVisibleName());
|
||||||
if (pidx != -1 && _playerOids[pidx] == 0) {
|
if (pidx != -1 && _playerOids[pidx] == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user