Merge branch 'master' of ssh://opensimulator.org/var/git/opensim

user_profiles
Diva Canto 2013-04-27 21:24:07 -07:00
commit a49c5291dc
1 changed files with 1 additions and 1 deletions

View File

@ -690,7 +690,7 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule
/// <param name="agentId"></param> /// <param name="agentId"></param>
public void EconomyDataRequestHandler(IClientAPI user) public void EconomyDataRequestHandler(IClientAPI user)
{ {
Scene s = LocateSceneClientIn(user.AgentId); Scene s = (Scene)user.Scene;
user.SendEconomyData(EnergyEfficiency, s.RegionInfo.ObjectCapacity, ObjectCount, PriceEnergyUnit, PriceGroupCreate, user.SendEconomyData(EnergyEfficiency, s.RegionInfo.ObjectCapacity, ObjectCount, PriceEnergyUnit, PriceGroupCreate,
PriceObjectClaim, PriceObjectRent, PriceObjectScaleFactor, PriceParcelClaim, PriceParcelClaimFactor, PriceObjectClaim, PriceObjectRent, PriceObjectScaleFactor, PriceParcelClaim, PriceParcelClaimFactor,