diff --git a/org/flixel/FlxPath.as b/org/flixel/FlxPath.as index fb5e798b..bf16834c 100644 --- a/org/flixel/FlxPath.as +++ b/org/flixel/FlxPath.as @@ -147,7 +147,7 @@ package org.flixel { var index:int = nodes.indexOf(Node); if(index >= 0) - return nodes.splice(index,1); + return nodes.splice(index,1)[0]; else return null; } @@ -165,7 +165,7 @@ package org.flixel return null; if(Index >= nodes.length) Index = nodes.length-1; - return nodes.splice(Index,1); + return nodes.splice(Index,1)[0]; } /**