Browse Source

Added double check for correct block to event handler linkage

master
chrisgregan 10 years ago
parent
commit
3ea307cb34
  1. 5
      Assets/Fungus/Flowchart/Scripts/EventHandler.cs

5
Assets/Fungus/Flowchart/Scripts/EventHandler.cs

@ -48,6 +48,11 @@ namespace Fungus
return false;
}
if (parentBlock.eventHandler != this)
{
return false;
}
Flowchart flowchart = parentBlock.GetFlowchart();
// Auto-follow the executing block if none is currently selected

Loading…
Cancel
Save