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>
This commit is contained in:
AliciaRaven
2014-09-27 14:51:22 +01:00
committed by BlueWall
parent 530b0cbbf1
commit f0218258d1

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);