diff --git a/addons/GDTask/Triggers/AsyncEnterTreeTrigger.cs b/addons/GDTask/Triggers/AsyncEnterTreeTrigger.cs index 97301a2..5d6ed7b 100644 --- a/addons/GDTask/Triggers/AsyncEnterTreeTrigger.cs +++ b/addons/GDTask/Triggers/AsyncEnterTreeTrigger.cs @@ -13,6 +13,12 @@ public static AsyncEnterTreeTrigger GetAsyncAwakeTrigger(this Node node) public sealed partial class AsyncEnterTreeTrigger : AsyncTriggerBase { + public override void _EnterTree() + { + base._EnterTree(); + RaiseEvent(AsyncUnit.Default); + } + public GDTask AwakeAsync() { if (calledEnterTree) return GDTask.CompletedTask;