mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
llDie() should not work on attachments (results in an incosistent attachment state)
This commit is contained in:
@@ -1118,7 +1118,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
public virtual void llDie()
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
throw new SelfDeleteException();
|
||||
if (!m_host.IsAttachment) throw new SelfDeleteException();
|
||||
}
|
||||
|
||||
public LSL_Float llGround(LSL_Vector offset)
|
||||
|
||||
Reference in New Issue
Block a user