yeack, scripts can set targets, not having the events

master
UbitUmarov 2020-02-26 03:26:44 +00:00
parent ca48bf4117
commit 828a3bb7f8
1 changed files with 1 additions and 2 deletions

View File

@ -1085,8 +1085,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
State = "default";
part.SetScriptEvents(ItemID,
(int)m_Script.GetStateEventFlags(State));
part.SetScriptEvents(ItemID, m_Script.GetStateEventFlags(State));
if (running)
Start();