Browse Source

Fixed duplicated Event Handlers not working correctly

master
chrisgregan 10 years ago
parent
commit
877ce1f9f1
  1. 1
      Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs

1
Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs

@ -574,6 +574,7 @@ namespace Fungus
{ {
field.SetValue(newEventHandler, field.GetValue(eventHandler)); field.SetValue(newEventHandler, field.GetValue(eventHandler));
} }
newEventHandler.parentSequence = newSequence;
newSequence.eventHandler = newEventHandler; newSequence.eventHandler = newEventHandler;
} }
} }

Loading…
Cancel
Save