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>
mb-throttle-test
AliciaRaven 2014-09-27 14:51:22 +01:00 committed by BlueWall
parent 530b0cbbf1
commit f0218258d1
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.SalePrice = 10;
part.ClickAction = Convert.ToByte(0);
group.HasGroupChanged = true;
part.SendPropertiesToClient(remoteClient);