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"; State = "default";
part.SetScriptEvents(ItemID, part.SetScriptEvents(ItemID, m_Script.GetStateEventFlags(State));
(int)m_Script.GetStateEventFlags(State));
if (running) if (running)
Start(); Start();