Oops, the contract is to return playerId's occupant. I dunno, I have some doubts about all this...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@693 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -687,7 +687,7 @@ public class GameManager extends PlaceManager
|
|||||||
public BodyObject checkWritePermission (ClientObject client, int playerId)
|
public BodyObject checkWritePermission (ClientObject client, int playerId)
|
||||||
{
|
{
|
||||||
// subclasses can be more restrictive here
|
// subclasses can be more restrictive here
|
||||||
return true;
|
return _omgr.getObject(client.getOid());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user