diff --git a/GlitchyEngine/src/Collections/TreeNode.bf b/GlitchyEngine/src/Collections/TreeNode.bf index bfc6f87..2324f36 100644 --- a/GlitchyEngine/src/Collections/TreeNode.bf +++ b/GlitchyEngine/src/Collections/TreeNode.bf @@ -44,6 +44,11 @@ namespace GlitchyEngine.Collections return null; } + + public static ref T operator ->(TreeNode node) + { + return ref node.Value; + } } static