The natural next step is playersAllHere(), not startGame(). Normally all

players report ready and we then call playersAllHere(). If we have partial
no-show, playersAllHere() will never have been called, so we want to call that
and let that call startGame() (or do custom stuff for games that want to do
custom stuff).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4175 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-06-06 15:51:48 +00:00
parent 07c2666e8b
commit 51eb40d77f
@@ -688,12 +688,13 @@ public class GameManager extends PlaceManager
cancelGame();
} else {
// go ahead and start the game; gameDidStart() will take care of
// giving the boot to anyone who isn't around
// go ahead and report that everyone is ready (which will start the
// game); gameDidStart() will take care of giving the boot to
// anyone who isn't around
Log.info("Forcing start of partial no-show game " +
"[game=" + _gameobj.which() +
", poids=" + StringUtil.toString(_playerOids) + "].");
startGame();
playersAllHere();
}
}