When a prim is bought through BuySellModule, the click action is not changed back from buy object. This means that after the object is bought, it still appears as if for sale which can be confusing. This sets it back to touch, the default after sale.

Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
ghosts
AliciaRaven 2014-09-27 14:51:22 +01:00 committed by Justin Clark-Casey (justincc)
parent 4e1f2ba1f4
commit d53703362e
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell
part.ObjectSaleType = 0; part.ObjectSaleType = 0;
part.SalePrice = 10; part.SalePrice = 10;
part.ClickAction = Convert.ToByte(0);
group.HasGroupChanged = true; group.HasGroupChanged = true;
part.SendPropertiesToClient(remoteClient); part.SendPropertiesToClient(remoteClient);