diff --git a/src/java/com/threerings/crowd/server/PlaceRegistry.java b/src/java/com/threerings/crowd/server/PlaceRegistry.java index 8bb0822e6..90853fb11 100644 --- a/src/java/com/threerings/crowd/server/PlaceRegistry.java +++ b/src/java/com/threerings/crowd/server/PlaceRegistry.java @@ -192,7 +192,7 @@ public class PlaceRegistry } // let the pmgr know about us and its configuration - pmgr.init(this, _invmgr, _omgr, _locator, config); + pmgr.init(this, _invmgr, _omgr, selectLocator(config), config); } catch (Exception e) { log.warning(e); @@ -242,6 +242,14 @@ public class PlaceRegistry return _injector.getInstance(clazz); } + /** + * Selects the body locator to be used by the PlaceManager created for the supplied config. + */ + protected BodyLocator selectLocator (PlaceConfig config) + { + return _locator; + } + /** * Called by the place manager when it has been shut down. */