Finally broke down and changed createPlaceView() to eliminate the annoying
potential fuckola of being called before the controller gets around to initializing the casted context it almost certainly needs to create its place view. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3440 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -50,7 +50,7 @@ public class LobbyController extends PlaceController
|
||||
_ctx.getParlorDirector().setInvitationHandler(this);
|
||||
}
|
||||
|
||||
protected PlaceView createPlaceView ()
|
||||
protected PlaceView createPlaceView (CrowdContext ctx)
|
||||
{
|
||||
return new LobbyPanel(_ctx, _config);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user