Don't NPE if the turn holder is null somehow.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3508 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -69,7 +69,7 @@ public class TurnGameControllerDelegate extends GameControllerDelegate
|
||||
{
|
||||
BodyObject self = (BodyObject)_ctx.getClient().getClientObject();
|
||||
return (_gameObj.state == GameObject.IN_PLAY &&
|
||||
_turnGame.getTurnHolder().equals(self.username));
|
||||
self.username.equals(_turnGame.getTurnHolder()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user