Browse Source

fix for sequences detection

Nicolas Cannasse 2 years ago
parent
commit
83b166675c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      other/memory/Memory.hx

+ 2 - 1
other/memory/Memory.hx

@@ -40,7 +40,7 @@ class Stats {
 		var totMem = 0;
 		var max = @:privateAccess mem.maxLines;
 		if( max > 0 && allT.length > max ) {
-			mem.log("<ignore "+(allT.length - max)+" lines - use 'lines 0' to see all>");
+			mem.log("<ignore "+(allT.length - max)+" lines>");
 			allT = allT.slice(allT.length - max);
 		}
 		for( i in allT ) {
@@ -674,6 +674,7 @@ class Memory {
 								if( seq ) {
 									for( k in 0...i ) tl.shift();
 									tag = -1;
+									k += i + 1;
 								}
 								break;
 							}