浏览代码

locate with subtype

Nicolas Cannasse 6 年之前
父节点
当前提交
1b6287b2df
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      other/memory/Memory.hx

+ 1 - 1
other/memory/Memory.hx

@@ -574,7 +574,7 @@ class Memory {
 
 		var ctx = new Stats(this);
 		for( b in blocks )
-			if( b.type == lt ) {
+			if( b.type != null && b.type.match(lt) ) {
 				var tl = [];
 				var owner = b.owner;
 				if( owner != null ) {