From 877ce1f9f1c0544ba094f9040274a2e699b7b469 Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Fri, 28 Nov 2014 14:18:45 +0000 Subject: [PATCH] Fixed duplicated Event Handlers not working correctly --- Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs b/Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs index 8c32c3dd..a453a345 100755 --- a/Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs +++ b/Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs @@ -574,6 +574,7 @@ namespace Fungus { field.SetValue(newEventHandler, field.GetValue(eventHandler)); } + newEventHandler.parentSequence = newSequence; newSequence.eventHandler = newEventHandler; } }