simplify stoped timer remove
@@ -193,14 +193,7 @@ class Timer
timer.nmeCheck(inStamp);
if (!timer.mRunning)
- {
- sRunningTimers[i] = sRunningTimers[sRunningTimers.length-1];
- #if (cpp && haxe4)
- cpp.NativeArray.setSize(sRunningTimers, sRunningTimers.length-1);
- #else
- sRunningTimers.splice(sRunningTimers.length-1, 1);
- #end
- }
+ sRunningTimers.splice(i,1);
else
i++;
}
